Question: 1. Write pseudocode and develop a program that allows the user to input a set of 5 marks. The program calculates the average, if
1. Write pseudocode and develop a program that allows the user to input a set of 5 marks. The program calculates the average, if average is below 50 the student will "Fail" else student will "Pass".
2. Write a program to ask user to enter a number and display if the user entered even or odd number.
Use the problem specified in question 2, write a program using switch case
Step by Step Solution
There are 3 Steps involved in it
Answer 1 Psuedocode 1 Initialize sum to 0 2 Prompt the user to input 5 marks 3 Repeat 5 t... View full answer
Get step-by-step solutions from verified subject matter experts
