Week 3: Add at least one conditional expression to your program.
Week 3: Add at least one conditional expression to your program.
Examples: In the
programming tutorial, you would add a tutorial on conditional expressions. You can then add simple multiple choice questions to test the user’s understanding of the concepts. You might also want to break the tutorial into sections, and use conditional expressions to ask the user which tutorial they wanted to see (i.e., variable declaration, input/output, conditional expressions, etc.).
For the loan calculator, the program might ask the user if he or she wants to solve for monthly payment, loan amount, length of loan, or interest rate. The program would then ask for the required information and solve for the remaining value.
So i need to add a conditional expression to my program.