Write a c program that accepts a month

Assignment Help Basic Computer Science
Reference no: EM131237546

(A1). Write a C program that accepts a month and day (for example, June 14) from the keyboard as input. Store this information in one string called date. Call a function named separate() passing in the string date and the addresses of a tempmonth array and tempday integer. The separate() function should extract the two values from the passed string and store them into the passed variable addresses. Back in main, print the data in tempmonth and tempday.

(B2). Write a C program that initially presents a menu of choices for the user. The menu should consist of the following choices:

A. Create an initial linked list of students and grades.

B. Insert a new student into the linked list.

C. Modify an existing student in the linked list.

D. Delete an existing student from the linked list.

E. Display the linked list.

F. Exit from the program.

Upon the user's selection, the program should execute the appropriate functions to satisfy the request.

Reference no: EM131237546

Questions Cloud

What is the standard unit of volume in the si : Explain the acronyms mks, SI, and cgs. What are the metric prefixes for million and millionth? What are the four most common metric prefixes? Which is larger, a liter or a quart? What is the standard unit of volume in the SI?
Is the united states officially on the metric system : Is the United States officially on the metric system? Explain. Initially, how many metric standard units were referenced to artifacts? How many are still referenced to artifacts? Which is a fundamental property, weight or mass, and why?
What is the process followed by the bond price : What is the process followed by the bond price?  - What is the expected instantaneous return to the holder of the bond?
Why are some quantities termed fundamental : Why are some quantities termed "fundamental"? A standard unit must have what characteristics? What makes up a system of units? For a given speed limit, would the numerical value be greater in mi/h or in km/h?
Write a c program that accepts a month : (A1). Write a C program that accepts a month and day (for example, June 14) from the keyboard as input. Store this information in one string called date. Call a function named separate() passing in the string date and the addresses of a tempmonth..
What is the difference between a law and a theory : Which generally comes first in solving problems, hypothesis or experiment? What is the difference between a law and a theory? What does the controversy over the "face" on Mars illustrate?
Elementary mathematics-matrix multiplication : Elementary Mathematics-matrix multiplication.
What is probability that stock price will be greater than 80 : A stock price is currently 50. Its expected return and volatility are 12% and 30%, respectively. - What is the probability that the stock price will be greater than 80 in 2 years?
What is the first step in understanding our environment : What is the first step in understanding our environment? What is the definition of science? What are the five major divisions of physical science? What is the first element of the scientific method?

Reviews

Write a Review

 

Basic Computer Science Questions & Answers

  Provide a common and consistent office solution

A school decides it wants to provide a common and consistent "office" solution (a software package that includes word processing, spreadsheets, presentation capabilities, and drawing capabilities) to all students and teachers in the school. The schoo..

  Write access expressions for all the elements in row 1 of t

Write a series of statements that displays the contents of t in tabular format. List the column indices as headings across the top, and list the row indices at the left of each row.

  Apply yen''s algorithm to find the shortest path from node 1

Apply Yen's alogithm to find the shortest paqth from node 1 to all

  The basic sociological fact in buddhism

1. The basic sociological fact in Buddhism is _______. a. Karma b. Samgha

  Example of an actual data warehouse

Find an example of an actual data warehouse. For this example, describe the content, purpose, user access methods, and sources of data (what on-line transaction processing [OLTP] databases feed data into the data warehouse) - (make sure that your ..

  Find optimal production amounts using graphical method

The daily demand for solution A lies between 30 and 150 units, and that for solution B between 40 and 200 units. Find the optimal production amounts of A and B using the Graphical Method.

  Formulate this problem as a minimum cost flow problem

Formulate this problem as a minimum cost flow problem. Hint: For each i, introduce a node that connects to a special artificial node.

  Implement the stack and queue with a single class

Implement the stack and queue with a single class interfaces with a unique class that is derived from class LinkedDeque. i asked this question before. Please do not copy the answer. thanks

  Write an instruction sequence to add

Write an instruction sequence to add the 3-byte numbers stored in memory locations 0x1 1-0x13 and 0x14-0x16 and save the sum in memory locations 0x20-0x22

  Explain roles and influences of computers

Topic is "The Global Economy" . You will be writing the term paper replying to the following questions? Explain the roles and influences of computers and communications technology in increase of trans-border economic activity.

  Persuade your team to give time to organization

Discuss whether you should accept this demand from your manager or whether you should persuade your team to give their time to the organization rather than to their families.

  Find three examples of retailers

Go online and find three examples of retailers that offer both in-stare and web-based sales. what were the firms?which one is the best and why?

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