write a program to read x and print sin x if x>0,square root x f x<0 and absolute x if x/2 is integer.
write c++ program to read two integer numbers,and read the operation to perform on these numbers
write c++ program to read 5 numbers and determine if the numbers sorted ascending or not
1
Expert's answer
2013-03-12T13:10:14-0400
//write a program to read x and print sin x if x > 0, //square root x if x < 0 //and absolute x if x/2 is integer.
#include <iostream> using namespace std; #include <conio.h> #include <math.h>
Comments
Leave a comment