Question: Answers must be using c++ programming language notepad++ Cygwin64 Terminal Please try it before you post it , Thank you. Write a program that takes
Answers must be using c++ programming language
- notepad++
- Cygwin64 Terminal
Please try it before you post it , Thank you.
Write a program that takes the xy coordinates of a point on the Cartesian plane, and prints out: - "origin" if the point lies on the origin. - " x-line" if the point lies on the y=0 line, or " y-line" if the point lies on the x=0 line. - otherwise, which quadrant of the plane the point lies on. Sample Interaction: Enter x y coerdinates: 2.3.5,? quatrant 2 Task 2: LeapYear Write a program that reads a year from the user and then prints a messuge if that year is a leap year or not: Hint: Leap year happens every 4 years, for ecample. 2016 is a leap year. Exception: Century years are NOT leap years UNLESS they can be everly divided by 400 . (for example, 1700,1800 : and 1900 were not leap years, but 1600 and 2000 , Which are divisible by 400 , were lenp years). Sample Interactions: Inter weari tren not a leap Year.:. Inter a yeapilious It's a leap Tear: Tasik 3: DescendingOrder Wrise a prognm that reads three integers from the user. Then print them in descending orderf Sample Interactions: bec re >11
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
