Questions tagged [number]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
36 views

Prompt a user for a number. My code has an endless loop

i am trying to build a code in which the user should input a number between 1-5. In any other case the program should request the user to input a new number. My problem is that the program is going ...
0
votes
1answer
118 views

Problem with credit.c

I have a problem with credit.c. The program works when the user enter a numeric input but when someone enters a string, i don't know how to make that the program print "Number: " again. Instead of it ...
0
votes
0answers
44 views

pset4, recover - Wrong number of jpg

I'm working on recover.c. I work stage by stage and now try to recognize all img in card file. Here is my code #include <stdio.h> #include <stdlib.h> #include <stdint.h> #define ...
0
votes
1answer
40 views

pset7 index.php number of returned rows are not computed

I am doing index.php, and I have managed to display the table with all the data, but I can do that for only one row, i.e. if the user has only one type of stock. When I test the code for multiple rows,...