Write a program that requests the day the month and the year

Assignment Help C/C++ Programming
Reference no: EM131853052

Assignment

Programs

1. Write a program that requests the day, the month and the year.

Use string spacing, newline, end line and tab to format the output as follows (user input is italicized for clarity):

Output Example

What day is today? Friday
What month is it? September
What year is this?
2014
Today is:
Friday
September
2014

2. Write a program that requests a major and college using the cin command.

Test the program with the input "Biology" and "Queens".

Use string spacing, newline, end line and tab to format the output as follows (user input is italicized for clarity):

Output Example
What is your major? Engineering
What four year school do you plan to attend? Queens
You will be studying Engineering at Queens.

3. Write an alternate version of program two using the getline command to accept multi-word majors.

Output Example
What is your major? Computer Science
What four year school do you plan to attend? Queens
You will be studying Computer Science at Queens.

Reference no: EM131853052

Questions Cloud

List of employees of a company : The employees table contains a list of employees of a company. An employee may be managed by another employee.
Waterfall process differs from an agile process : Describe 5 ways in which a Waterfall process differs from an Agile process
Access market insights on de-identified patient behavior : Allows health plan members and covered employees to set appointments, search for providers, compare treatment costs across sites of care.
Prepare journal entries in general journal form : Prepare journal entries in general journal form for each of the four options. (b) Write a brief memo on how each option affects the financial statements.
Write a program that requests the day the month and the year : Write a program that requests the day, the month and the year. Write a program that requests a major and college using the cin command.
Describe the benefits organization : Describe the benefits this organization provides through its mobile computing options.
How the contingency should be reflected : For each situation, discuss how and whether the contingency should be reflected in the company's financial statements. If the contingency should be accrued.
Discuss some of the common threats to database systems : Discuss some of the common threats to database systems, and provide examples of security controls that can be used to mitigate the risks.
Simple menu to manage program functions : Write by C Title: Use simple menu to manage program functions.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd