Using a switch statement, write a program that prompts the user for a numeric code and two operands. The numeric codes of 1, 2, 3, and 4 represents addition, subtraction, multiplication, and division respectively. Before division, your program should check whether the second operand is not zero. If it is, it should display “Division by zero not allowed” to the screen.
The program should behave as follows. 1. The program reads an integer and stores it in a variable year of type int. 2. If the number is not between 2000 and 2100 (with both ends included), the program should warn the user and stop (this just means that no further statements are executed by the program). Otherwise, it should proceed as follows. 3. Declare a variable leapYear of type bool which will be true if the number stored in year corresponds to a leap year, and false otherwise. 4. Use a loop to compute the value of leapYear according to the year introduced by the user. Hint: keep subtracting 4 from the value stored in year until reaching a certain condition. 5. Use year and leapYear to output the following to the screen: - if year is not a leap year, for example 2010, print The year is 2010 and it's not a leap year. - if year is a leap year, for example 2020, print The year is 2020 and it's a leap year.
Describe the enhancement/benefit of fault-tolerant and disk space quotas by users offered by NTFS over FAT technology
create a c++ program an internet cafe has 10,500.00 income per day. compute the total income within 30 days within 4 quarters and within 1 year. the shop will pay P2599.00 for the internet, p10000.00 the electricity and p2500.00 the maintenance