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 23:30
Which of the following is not a symptom of chronic fatigue syndrome
Answers: 2
question
Computers and Technology, 23.06.2019 12:50
Which syntax error in programming is unlikely to be highlighted by a compiler or an interpreter? a variable name misspelling a missing space a comma in place of a period a missing closing quotation mark
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
What is html ? give a small description about html
Answers: 2
question
Computers and Technology, 23.06.2019 18:30
Write a program that prints the day number of the year, given the date in the form month-day-year. for example, if the input is 1-1-2006, the day number is 1; if the input is 12-25-2006, the day number is 359. the program should check for a leap year. a year is a leap year if it is divisible by 4, but not divisible by 100. for example, 1992 and 2008 are divisible by 4, but not by 100. a year that is divisible by 100 is a leap year if it is also divisible by 400. for example, 1600 and 2000 are divisible by 400. however, 1800 is not a leap year because 1800 is not divisible by 400.
Answers: 3
You know the right answer?
If the input is negative, make numitems Pointer be null. Otherwise, make numitems Pointer point to n...
Questions
question
Arts, 21.09.2021 01:00
question
Computers and Technology, 21.09.2021 01:00
question
Mathematics, 21.09.2021 01:00
question
Mathematics, 21.09.2021 01:00
Questions on the website: 13722360