Write a program that reads an integer and prints whether it


Problem

1. Write a program that reads an integer and prints whether it is negative, zero, or positive.

2. Write a program that reads a floating-point number and prints "zero" if the number is zero. Otherwise, print "positive" or "negative". Add "small" if the absolute value of the number is less than 1, or "large" if it exceeds 1,000,000.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a program that reads an integer and prints whether it
Reference No:- TGS02626371

Expected delivery within 24 Hours