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, 24.06.2019 02:20
The first time a user launches the powerpoint program, which view is shown allowing the user to access recent presentations or create new presentations based on templates?
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
What did i do wrong with this const discord = require('discord.js'); var bot = new discord.client(); const token = 'ntm3mjcxmtu1mjg3ote2ntq2.dyogew.dpfiwfpuifzuzvifop-csuxasnm' const prefix = "! " bot.registry.registergroup('simple', 'simple'); bot.registry.registerdefaults(); bot.registry. + '/commands'); bot.on('message', message => { if(message.content == 'hi! ') { message.channel.send ('@everyone sup, how is @everyone day going'); } if(message.content == 'h3lp') { message.channel.send ('dose not have any commands yet'); } bot.on('ready', function() { console.log("ready") }); bot.login(token);
Answers: 1
question
Computers and Technology, 25.06.2019 10:40
If you're using the paintbrush tool and want to change the color of the paint being used what should you change
Answers: 2
question
Computers and Technology, 25.06.2019 11:00
What is data validation? (in a simple definition)
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, 03.03.2020 06:53
question
History, 03.03.2020 06:53
question
Mathematics, 03.03.2020 06:53
Questions on the website: 13722359