Question: Write full proprams for the below questona and print it out on same sheet Do not forget to tike a screenshot for the ourput of
Write full proprams for the below questona and print it out on same sheet Do not forget to tike a screenshot for the ourput of each question. 1. Wirte a complete 0 zrogan that Mull find and print the area and permeter of a rectangle. Ghec- that the entercd lengthis Larger than the width M= W) to calculate the area otherwise print an error mersage. Note that: Area widh = length Perimeter =2( csathtiengh) 2. Write a program to read a real number and print (positwe) when th is greater than zero and negative otherwise. 3. Write a program to read two numbers and exchange them if the first one is greater than the second one. 4. Write a program to check if an integer number divides by 5 grnot 5. Write a program that ashs the user to type a stident mark between (0100) and outputs PASS" if the value is between 70 and 100 (both included) Othersise, the program prints out FAIE:- 6. Wute a Program to read a character ifiits in alphabet then find if it s uppercase or lowercase. If it s a digit print that it is a digit. Else, pront that it 's a specsal character: 7. White a program that will imput 2 integers x and y then check if y is multiple of x. 8. Write a program that will input four integers and checkif their summation is even or odd. 9. Correct the errors in the blocks of code below
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
