subject

If the input is negative, make numitems Pointer be null. Otherwise, make numitems Pointer point to numitems and multiply the value to which numitemsPointer points by 10. Ex If the user enters 99, the output should be Items: 990
1 #include
2
3 int main(void) {
4 int numitemsPointer;
5 in numILS:
6
7 scant , &numitems);
8
9 /* Your solution goes here */
10
11 if (nunitemsPointer = =NULL) {
12 printf (Items is negative);
13 }
14 else {
15 printf("Itens nunItems Pointer);
16 }
17
18 return 0;
19 }

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:30
Which of the following methods could be considered a “best practice” in terms of informing respondents how their answers to an on-line survey about personal information will be protected? respondents are informed that investigators will try to keep their participation confidential; however, confidentiality cannot be assured. respondents are informed that a research assistant will transfer all the research data to a password-protected computer that is not connected to the internet, via a usb flashdrive. the computer is located in a research team member’s office. the investigator uses the informed consent process to explain her institution’s method for guaranteeing absolute confidentiality of research data. the investigator uses the informed consent process to explain how respondent data will be transmitted from the website to his encrypted database without ever recording respondents’ ip addresses, but explains that on the internet confidentiality cannot be absolutely guaranteed.
Answers: 1
question
Computers and Technology, 22.06.2019 23:30
Define a function printfeetinchshort, with int parameters numfeet and numinches, that prints using ' and " shorthand. ex: printfeetinchshort(5, 8) prints: 5' 8"
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
Anul 2017 tocmai s-a încheiat, suntem trişti deoarece era număr prim, însă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecţionar de numere prime, şi-a pus întrebarea: “câte numere dintr-un interval [a,b] se pot scrie ca produs de două numere prime? “.
Answers: 3
question
Computers and Technology, 25.06.2019 03:30
What best describes the purpose of occupational safety and health administration
Answers: 1
You know the right answer?
If the input is negative, make numitems Pointer be null. Otherwise, make numitems Pointer point to n...
Questions
question
Mathematics, 12.10.2020 22:01
question
History, 12.10.2020 22:01
question
Mathematics, 12.10.2020 22:01
question
Computers and Technology, 12.10.2020 22:01
question
English, 12.10.2020 22:01
question
Mathematics, 12.10.2020 22:01
Questions on the website: 13722367