Conditional Statement in Turbo C

Conditional Statement in Turbo C

  1. Write a program that computes and assesses the tuition fee of the students in one trimester, based on the given mode of payment below: Plan (Key) Discount (-) or Interest (+) Cash (1) 10% Discount Two-installment (2) 5% Discount Three-Installment (3) 10% Interest The target user must use the key in selecting or choosing the mode of payment. The first input data is the tuition fee, and the second input data is the mode of payment.

Output: Enter Tuition Fee: 20000 (Press 1 for Cash, 2 for Two-Installment, 3 for Three-Installment)

Enter Mode of Payment: 2 Your total tuition fee is 21000

View Answers









Related Tutorials/Questions & Answers:
Conditional Statement in Turbo C
Conditional Statement in Turbo C   Write a program that computes and assesses the tuition fee of the students in one trimester, based on the given mode of payment below: Plan (Key) Discount (-) or Interest (+) Cash (1) 10
Conditional Statement in Turbo C
Conditional Statement in Turbo C   Write a program that computes and assesses the tuition fee of the students in one trimester, based on the given mode of payment below: Plan (Key) Discount (-) or Interest (+) Cash (1) 10
Advertisements
cONDITIONAL STATEMENT
cONDITIONAL STATEMENT    Write a program that computes and assesses the tuition fee of the students in one trimester, based on the given mode of payment below: Plan (Key) Discount (-) or Interest (+) Cash (1) 10% Discount Two
turbo C prog. Q3
turbo C prog. Q3  What is the difference between if and ladder... ? please Describe with example.   if statement is used to write conditional expressions. If the given condition is true then it will execute
turbo C prog.
turbo C prog.  Is is possible print ASCII value of a alphabets using turbo C prog
endif to end the conditional statement.
endif to end the conditional statement.  When are you supposed to use endif to end the conditional statement
conditional statement in java
conditional statement in java  Write a conditional statement in Java... as conditional statements. You can learn "How to write conditional statement in Java " from RoseIndia website. Find the Link below... conditional operators
turbo C Question 6.
turbo C Question 6.  Explain call by value and call by reference with easy examples
turbo C Question 4.
turbo C Question 4.  Possible to print the following (Using for Loops): 1. * ** 2.* * ** * * * *   specify the format properly
turbo C Question 4.
turbo C Question 4.  Possible to print the following (Using for Loops): 1. * ** 2.* * ** * * * *   specify the format properly
turbo C Question 5.
turbo C Question 5.  is it possible to print "", 1st line (5 times),2nd line *(4 times),3rd line *(3 times),4th line *(2 times) & 5th line *(1 times) with Align Right. and also reverse order as 1,2,3,4,5 (but right aline
turbo C prog.
turbo C prog.  Is it possible to print ASCII value A to Z with out...;#include<stdio.h> #include<conio.h> void main() { for(char c='A';c<='Z';c++){ printf("\nASCII of %c is %i\n", a, a); } getch(); } C
turbo c pre-increment question
turbo c pre-increment question  Can u print in turbo c 9 8 7 6 5 4 3 2 1 0 using pre increment operator Only use print ++a in the same printf() command ten times
(ForPro) turbo C prog. Q4
(ForPro) turbo C prog. Q4  I need to learn some easy foxpro program.. for example sum,interchange, loop etc
how to get following answer in turbo c program
how to get following answer in turbo c program  input 123456789 output 1 2 3 4 5 6 7 8 9
PHP Conditional Statement
supports if , else, switch case and conditional operator for this purpose. PHP Conditional Statement Example 1:ADS_TO_REPLACE_1 <?php $a=12; if($a>...PHP Conditional Statements In every language we need to put some conditional
IF-Else Conditional Statement
IF-Else Conditional Statement Conditional Statements are used to carry out actions based on condition. If-Else is also a conditional statement used... the following conditional statement : if statement if...else statement
When are you supposed to use endif to end the conditional statement?
When are you supposed to use endif to end the conditional statement?  When are you supposed to use endif to end the conditional statement
Conditional Include with <c:if>
Conditional Include with <c:if>   ... or not, then in these condition the <c:if> tag is used. In this tag there is no way to specify... the if statement in java. This tag is not for applicable if we want to one thing
The continue statement The continue statement is used in many programming languages such as C
The continue statement The continue statement is used in many programming languages such as C. The continue statement The continue statement is used in many programming languages such as C, C++, java etc. Sometimes we do not need
C Break for loop
or conditional statement. In a for loop statement, the break statement can stop the counting... C Break for loop       In this section, you will learn how to use break statement in a for loop
JSP IF Statement
in the core Java programming. Additionally, in JSP the conditional if statement...:if> which is used to apply the if statement in JSP. Tag <c:if> is just work as the conditional IF statement in computer programming
C Break with Switch statement
C Break with Switch statement       In this section, you will learn how to use break statement with Switch-Case in C. The switch case statements allows to control complex
Can u print in turbo c 9 8 7 6 5 4 3 2 1 0 using pre increment operator Only use print ++a in the same printf() command ten times)
Can u print in turbo C  Can u print in turbo c 9 8 7 6 5 4 3 2 1 0 using pre increment operator Only use print ++a in the same printf() command ten times
C Goto Statement
C Goto Statement       This section explains you the concept of 'goto' statement in C.  The goto statement is a jump statement which jumps from one point to another point
Can u print in turbo c 9 8 7 6 5 4 3 2 1 0 using pre increment operator Only use print ++a in the same printf() command ten times)
Can u print in turbo c 9 8 7 6 5 4 3 2 1 0 using pre increment operator Only use print ++a in the same printf() command ten times)  Can u print in turbo c 9 8 7 6 5 4 3 2 1 0 using pre increment operator Only use print
c++
c++  i use turbo c++...i want to change the background color...what is the command for it and the header file used
c++
c++  i use turbo c++...i want to change the background color...what is the command for it and the header file used
c++
c++  i use turbo c++...i want to change the background color...what is the command for it and the header file used
IF - PHP If and else Statement
IF - PHP If and else Statement in PHP “IF” is a conditional statement that gives the opportunity to choose between two values. It can also... uses if else statement as a conditional operator. Lets take an example
java code for print true if even and false if odd and print error if any float value with out using conditional and looping statement
java code for print true if even and false if odd and print error if any float value with out using conditional and looping statement  hi class Even{ public static void main(String[] arg){ int num=Integer.parseInt
ModuleNotFoundError: No module named 'turbo'
ModuleNotFoundError: No module named 'turbo'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'turbo' How to remove the ModuleNotFoundError: No module named 'turbo'
Java - Continue statement in Java
Java - Continue statement in Java       Continue: The continue statement is used in many programming languages such as C, C++, java etc. Sometimes we do not need to execute some
C/C++ - Development process
C/C++  I need the code for playing the backgammon game using C/C++.Im using turbo C. I`ve already design the board.I badly need the code for playing this game
for statement
for statement  for(int i=0;i<5;i++); { system.out.println("The value of i is :"+i); } if i end for statement what will be the output   got the answer.. it displays only the last iteration that is "The value of i
c++
. Write a C++ statement that prints the values of the data members of the object x. h. Write a C++ statement that declares an object t of the type xClass...c++  Consider the following declarations: class xClass { public: void
ModuleNotFoundError: No module named 'turbo-clipper'
ModuleNotFoundError: No module named 'turbo-clipper'  Hi, My... 'turbo-clipper' How to remove the ModuleNotFoundError: No module named 'turbo-clipper' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'turbo-markdown'
ModuleNotFoundError: No module named 'turbo-markdown'  Hi, My... named 'turbo-markdown' How to remove the ModuleNotFoundError: No module named 'turbo-markdown' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'turbo-seti'
ModuleNotFoundError: No module named 'turbo-seti'  Hi, My Python... 'turbo-seti' How to remove the ModuleNotFoundError: No module named 'turbo-seti' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'turbo-dash'
ModuleNotFoundError: No module named 'turbo-dash'  Hi, My Python... 'turbo-dash' How to remove the ModuleNotFoundError: No module named 'turbo-dash' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'turbo-disco'
ModuleNotFoundError: No module named 'turbo-disco'  Hi, My Python... 'turbo-disco' How to remove the ModuleNotFoundError: No module named 'turbo-disco' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'turbo_motor'
ModuleNotFoundError: No module named 'turbo_motor'  Hi, My Python... 'turbo_motor' How to remove the ModuleNotFoundError: No module named 'turbo_motor' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'turbo_react'
ModuleNotFoundError: No module named 'turbo_react'  Hi, My Python... 'turbo_react' How to remove the ModuleNotFoundError: No module named 'turbo_react' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'turbo_sqlalchemy'
ModuleNotFoundError: No module named 'turbo_sqlalchemy'  Hi, My... named 'turbo_sqlalchemy' How to remove the ModuleNotFoundError: No module named 'turbo_sqlalchemy' error? Thanks   Hi, In your
Continue statement in java
Continue statement in java In this section we will discuss about continue statement in java. continue is one of the branching statement used in most of the programming languages like C,C++ and java etc. Sometime we need to skip some
ModuleNotFoundError: No module named 'conditional'
ModuleNotFoundError: No module named 'conditional'  Hi, My Python... 'conditional' How to remove the ModuleNotFoundError: No module named 'conditional' error? Thanks   Hi, In your python environment
Conditional (Logical) Operators
(shorthand for if-then-else statement) I. AND (&) and Conditional-AND (&&... Conditional (Logical) Operators       Conditional operators return a true or a false value
C++
C++  How can i write this in dev c
C++
C++  How can i write this in dev c
c#
c#  how to find out the size of the BMP image in C

Ads