subject

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

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 11:00
Describe three characteristics of at-risk drivers. a. b. c. describe three characteristics of safe drivers. a. b. c. describe three driver errors that could cause a collision. a. b. c. how will this information affect you as a driver now and in the future? (2-3 sentences)
Answers: 2
question
Computers and Technology, 23.06.2019 22:30
You draw two cards from a standard deck of 52 cards, but before you draw the second card, you put the first one back and reshuffle the deck. (a) are the outcomes on the two cards independent? why?
Answers: 3
question
Computers and Technology, 23.06.2019 22:30
How many points do i need before i can send a chat
Answers: 1
question
Computers and Technology, 24.06.2019 00:30
Asecurity policy is a a. set of guidlines b. set of transmission protocols c. written document d. set of rules based on standards and guidelines
Answers: 2
You know the right answer?
Write a c program to ask the user to input the first 3 letters of a selected object all in lower cas...
Questions
question
Mathematics, 20.09.2020 07:01
question
Mathematics, 20.09.2020 07:01
Questions on the website: 13722361