Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa TravelTourism Conditional Statement in Turbo C

Have Programming Question? Ask it here!
 
 
 


Raffy Caintic
Conditional Statement in Turbo C
0 Answer(s)      a year and 6 months ago
Posted in : Travel & Tourism


  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


Advertisement
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
turbo C prog.
turbo C prog.  Is is possible print ASCII value of a alphabets using turbo C prog
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 Question 6.
turbo C Question 6.  Explain call by value and call by reference with easy examples
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 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
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 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
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
PHP Conditional Statement
supports if , else, switch case and conditional operator for this purpose. PHP Conditional Statement Example 1: <?php $a=12; if($a>10)  ...PHP Conditional Statements In every language we need to put some conditional
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
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
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 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
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
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
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
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
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
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
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
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
Conditional operator in java
Conditional operator in java Operator are used to perform some specific operation. In this tutorial we will discuss about conditional operator in java. Conditional operator is used to evaluate boolean expression which return or false
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
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
Explain the ternary conditional operator in PHP?
Explain the ternary conditional operator in PHP?  Explain the ternary conditional operator in PHP
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
Conditional increment in xslt
Conditional increment in xslt  In a Shipment the number of orders is present. For each order there is a number of order line Items. Order Line Items contain item. For each iteration we are maintaining the hierarchy levels
Conditional increment in xslt
Conditional increment in xslt  In a Shipment the number of orders is present. For each order there is a number of order line Items. Order Line Items contain item. For each iteration we are maintaining the hierarchy levels
Conditional increment in xslt
Conditional increment in xslt  In a Shipment the number of orders is present. For each order there is a number of order line Items. Order Line Items contain item. For each iteration we are maintaining the hierarchy levels
Java error missing return statement
statement are those error in Java that occurred when a programmer forget to write a return statement inside the conditional clauses. method with a non-void return... Java error missing return statement   
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
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
c++
c++  use a prgrm as an example to xplain-: a)class b)object c)message d)cope resolution operator
c++
c++  write a programme that calculates the area and circumference of a rectangle
c#
c#  how to find out the size of the BMP image
C++
C++  dear sir How to create windows form application for login screen using C++? USER Name -TESTADMIN Password -testuser
Advertisements
 

 

 

DMCA.com