Page 1 of 1

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

Posted: Mon May 02, 2022 12:20 pm
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 40 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) ==