Assignment Ql. Write a C language program which will take three real numbers from the keyboard into three different vari

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Assignment Ql. Write a C language program which will take three real numbers from the keyboard into three different vari

Post by answerhappygod »

Assignment Ql Write A C Language Program Which Will Take Three Real Numbers From The Keyboard Into Three Different Vari 1
Assignment Ql Write A C Language Program Which Will Take Three Real Numbers From The Keyboard Into Three Different Vari 1 (461.81 KiB) Viewed 38 times
please solve question 2 only
c program
Assignment Ql. Write a C language program which will take three real numbers from the keyboard into three different variables. The program should find the minimum of these three numbers using nested if else statements. Q2. Write a program that will enter two float numbers X and Y (from Keyboard) as input and will find and print the value of f(x,x) as an output (Hint: Use math.b for powers). The function f(x.x) is define as follows: y (x+2) f(x,y) = x+y Loty if 9<x and y> 8 if 1<x<9 if x <1 and y=4 Otherwise Q3. Write a C language program which will take a real number and a character from the keyboard. The input should be given, for example, like 2.3 k or 5.4 m where k represents kilometer and m represents mile. If the user enters a mile value the program should convert and display the kilometer equivalent. If the user enters a kilometer value the program should calculate and display the mile equivalent. USE IF STATEMENTS. (1 kilometer = 0.6214 mile) ==
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply