![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 22.01.2022 08:10 isaiahmyers3410
Write two cin statements to get input values into birthMonth and birthYear. Then write a statement to output the month, a dash, and the year. End with newline. The program will be tested with inputs 1 2000 and then with inputs 5 1950. Ex: If the input is 1 2000, the output is: 1-2000 Note: The input values come from user input, so be sure to use cin statements, as incin >> birthMonth, to get those input values and don't assign values directly, as in birthMonth - 1). 1 winclude 2 using namespace std; 3 4 int main() int birthMonth; 6 int birthYear; 7 R 9 return 0; 10
![ansver](/tpl/images/cats/User.png)
Answers: 2
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 20:30
What is the biggest difference between section breaks and regular page breaks
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 10:00
Each time you save a document, you will need to type in the file type in which it should be saved you can select the save button to save it with the same file name if it has been previously saved you will need to select the location to save the file you will need to use the save as dialog box
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 15:00
Universal windows platform is designed for which windows 10 version?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 17:40
Write a program to analyze studentâs scores. each studentâs id and 4 original test scores are saved in the attached file âstudent_id_scores.txtâ. assume there are exactly 15 students in the class.⢠the program first opens the file, reads studentâs ids and scores from the file and saves them in two arrays: o create a one-dimensional string array âidsâ to store the studentâs ids.o create a (parallel) two-dimensional int array âscoresâ to store studentâs original test scores. this array has 5 columns, the original 4 test scores should be saved in the first 4 columns, and the last column will be used to save the average score after the calculation in next step.⢠the program then retrieves test scores from the array âscoresâ, calculates average score and determines the final letter grade based on the rules in the table below for each student. assume average score is integer value.average score = (score1 + score2 + score3 + score4) / 4average score letter grade90 ~ 100 a80 ~ 89 b70 ~ 79 c60 ~ 70 d0 ~ 60 f⢠the average score should be saved back in the 5th column of âscoresâ array.⢠create a new parallel one-dimensional char array âgradesâ to save each studentâs letter grade.⢠program also needs to find the number of a, number of b, number of c, number of d and number of f grade. as well as the highest, lowest and average score of the class.⢠finally, program will display all of the original scores and all results on the computer screen using the format shown as the sample output below.⢠the program must contain at least the following functions: (1) a function âgetscoresâ to read and store data into âidsâ and âscoresâ arrays.(2) a function âanalyzescoresâ to calculate studentâs average score, determine letter grade, get the number of a, b, c, d and f, find the highest, lowest and average score of the class.(3) a function âdisplayresultsâ to display all of the results
Answers: 3
You know the right answer?
Write two cin statements to get input values into birthMonth and birthYear. Then write a statement t...
Questions
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 05.12.2020 21:50
![question](/tpl/images/cats/istoriya.png)
History, 05.12.2020 21:50
![question](/tpl/images/cats/mkx.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 05.12.2020 21:50
![question](/tpl/images/cats/mat.png)
Mathematics, 05.12.2020 21:50
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 05.12.2020 21:50
![question](/tpl/images/cats/mat.png)
Mathematics, 05.12.2020 21:50
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
English, 05.12.2020 21:50
![question](/tpl/images/cats/mat.png)
Mathematics, 05.12.2020 21:50
![question](/tpl/images/cats/biologiya.png)
Biology, 05.12.2020 21:50