cONDITIONAL STATEMENT

cONDITIONAL STATEMENT

  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

Ads









Related Tutorials/Questions & Answers:
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
endif to end the conditional statement.
endif to end the conditional statement.  When are you supposed to use endif to end the conditional statement
Advertisements
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
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
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
JSP IF Statement
in the core Java programming. Additionally, in JSP the conditional if statement... work as the conditional IF statement in computer programming but, their syntaxes are different. Functionality of this conditional statement is to execute
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
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
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 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
ModuleNotFoundError: No module named 'djangocms-conditional'
ModuleNotFoundError: No module named 'djangocms-conditional'  Hi...: No module named 'djangocms-conditional' How to remove the ModuleNotFoundError: No module named 'djangocms-conditional' error? Thanks   Hi
ModuleNotFoundError: No module named 'ec2_tag_conditional'
ModuleNotFoundError: No module named 'ec2_tag_conditional'  Hi, My... named 'ec2_tag_conditional' How to remove the ModuleNotFoundError: No module named 'ec2_tag_conditional' error? Thanks   Hi
ModuleNotFoundError: No module named 'ec2_tag_conditional'
ModuleNotFoundError: No module named 'ec2_tag_conditional'  Hi, My... named 'ec2_tag_conditional' How to remove the ModuleNotFoundError: No module named 'ec2_tag_conditional' error? Thanks   Hi
ModuleNotFoundError: No module named 'flask-conditional'
ModuleNotFoundError: No module named 'flask-conditional'  Hi, My... named 'flask-conditional' How to remove the ModuleNotFoundError: No module named 'flask-conditional' error? Thanks   Hi, In your
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 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
Use if statement with LOOP statement
Use if statement with LOOP statement       Conditional if statements  in SQL are used... with Example The Tutorial illustrate a example from if statement with LOOP
Use if statement with LOOP statement
Use if statement with LOOP statement       Conditional if statements  in SQL... if statement with LOOP statement. In this example we create a procedure display
ModuleNotFoundError: No module named 'coverage-conditional-plugin'
ModuleNotFoundError: No module named 'coverage-conditional-plugin'  ...: No module named 'coverage-conditional-plugin' How to remove the ModuleNotFoundError: No module named 'coverage-conditional-plugin' error? Thanks
ModuleNotFoundError: No module named 'django-conditional-aggregates'
ModuleNotFoundError: No module named 'django-conditional-aggregates'  ...: No module named 'django-conditional-aggregates' How to remove the ModuleNotFoundError: No module named 'django-conditional-aggregates' error
ModuleNotFoundError: No module named 'django-conditional-views'
ModuleNotFoundError: No module named 'django-conditional-views'  Hi...: No module named 'django-conditional-views' How to remove the ModuleNotFoundError: No module named 'django-conditional-views' error? Thanks  
ModuleNotFoundError: No module named 'odoo12-addon-base-conditional-image'
ModuleNotFoundError: No module named 'odoo12-addon-base-conditional-image' ...: ModuleNotFoundError: No module named 'odoo12-addon-base-conditional-image' How to remove the ModuleNotFoundError: No module named 'odoo12-addon-base-conditional
Conditional Examples(if - else- switch case) in JavaScript
examples in JavaScript . About Conditional Statement First of all we write.... There are following types of Conditional Statements:- if statement:- It means... Conditional Examples(if - else- switch case) in JavaScript
C Break for loop
; In this section, you will learn how to use break statement in a for loop. The break statement terminates the execution of the enclosing loop or conditional statement. In a for loop statement, the break statement can stop the counting
if statement in php
if statement in php  Correct way of writing if statement in PHP
java if statement
java if statement  If statement in Java
prepare statement
prepare statement  sir i want example of prepare statement
difference between prepared statement and statement
difference between prepared statement and statement  i mean in prepared statement we write insert command as INSERT INTO tablename VALUES(?,?) but in normal statement we write insert into tablename(jtextfiled1.gettext

Ads