Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data In Just 7 Chapters

Authors: Prof Marcus Vinicius Pinto

1st Edition

B09NZ7ZX72, 979-8787954036

More Books

Students also viewed these Databases questions