Computers and Technology

Write a c program to ask the user to input the first 3 letters of a selected object all in lower case letters. you will need a printf statement to give the user some guidance about your program. printf("calculating the perimeter and area of an object "); printf("\tselect from a circle, square, rectangle, parallelogram, triangletn"); printf("ltenter first 3 letters of object in all lower caseln\n"); printf("ltselection: "); scanf( /i.. rest of the program use an "if" statement to match the correct object selection, read variables, calculate and print results. if(strobj "cir") { printf scanf( perimeter = to read in radius from user area = printf("the perimeter the area else if(strobj "squ') { printf( scanf( to read in length from user else printf("error! enter all lower case cir, squ, rec, par or tri."); loop until the user wants to quit include a heading object picture perimeter area circle 2ttt md 7r2 d 12 square 41 ope rectangle 212w lw 2l +2w ih parallelogram triangle bh a+b+c 004

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 00:20, kcameronanderso
What’s resistance in an electrical circuit ?
Answers: 1
image
Computers and Technology, 22.06.2019 22:00, bbysl15
What is the name of the option in most presentation applications with which you can modify slide elements? 1. the option enables you to modify a slide element in most presentation applications.
Answers: 3
image
Computers and Technology, 22.06.2019 23:00, maxy7347go
Which factor is the most important when choosing a website host? whether customers will make secure transactions the number of email accounts provided the purpose of the website the quality of the host control panel
Answers: 3
image
Computers and Technology, 23.06.2019 17:00, ayoismeisjjjjuan
The camera still is bad even with the new iphone xr and especially in low light it is even worst because you can see the pixels more if its in low light. if all you apple customers want apple to fix this then lets fill there feedback with complaints about the can apple do to fix this issue?
Answers: 1
Do you know the correct answer?
Write a c program to ask the user to input the first 3 letters of a selected object all in lower cas...

Questions in other subjects:

Konu
Spanish, 18.10.2019 08:10
Konu
Mathematics, 18.10.2019 08:10