Write a program that inputs two double values and then calculates various results. Let the two double values be called a and b, in that order. Print out a to the power of b, the absolute value of a, the value of b rounded to the nearest integer, the smallest integer greater than or equal to a, and the bigger of either a or b. Comment your solution to this post.
top of page
bottom of page