[solved]-Write C Program Ask User Input First 3 Letters Selected Object Lower Case Letters Need Pri Q39003579

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 …Inin”); printf(“tSelect from a circle, square, rectangle, parallelogram, triangletn”); printf(“ltEnter first 3 letters of object in all lower caselnn”); 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 is… the area is… else if(strObj “squ’) { printf( scanf( to read in length from user else printf(“Error! Please 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 Show transcribed image text 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 …Inin”); printf(“tSelect from a circle, square, rectangle, parallelogram, triangletn”); printf(“ltEnter first 3 letters of object in all lower caselnn”); 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 is… the area is… else if(strObj “squ’) { printf( scanf( to read in length from user else printf(“Error! Please 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
Expert Answer
Answer to 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 … . . .
OR

