Search:

Type: Posts; User: krendo01

Search: Search took 0.01 seconds.

  1. Replies
    27
    Views
    8,290

    I still can't fix it :/

    I still can't fix it :/
  2. Replies
    27
    Views
    8,290

    Can anyone please tell me why my loop won't break...

    Can anyone please tell me why my loop won't break out when I enter -1??? And how I can fix it?? :confused: Thanks!
    #include <stdio.h>
    #define SIZE 35
    int main (void)
    {
    int nums[SIZE]={0};
    int...
  3. Replies
    27
    Views
    8,290

    #include #define SIZE 35 int main...

    #include <stdio.h>
    #define SIZE 35
    int main (void)
    {
    int nums[SIZE]={0};
    int count=1;
    int i=0;

    while (nums[i] != -1)
    {
  4. Replies
    27
    Views
    8,290

    Sorry, I meant it starts at "enter test score 1,...

    Sorry, I meant it starts at "enter test score 1, then 0" and doesn't change from 0.. help?
  5. Replies
    27
    Views
    8,290

    int main (void) { int nums[SIZE]={1}; int...

    int main (void)
    {
    int nums[SIZE]={1};
    int count=0;
    int i=0;
    int tests;

    while (nums[i] >= 0)
    {
    printf("Enter test score %d: ", nums[i]);
  6. Replies
    27
    Views
    8,290

    I'm sorry, size change to what?

    I'm sorry, size change to what?
  7. Replies
    27
    Views
    8,290

    Arrays and Loops in C language

    I'm supposed to write a program that prompts for and reads in test scores with integer values between 0 and 100 and enter no more than 35 test scores. Use a preprocessor directive to define this...
  8. Replies
    27
    Views
    8,290

    Using arrays in C

    Write a program that prompts for and reads in test scores. You may assume that valid test scores will be integer values between 0 and 100. You may also assume that the user will not enter more than...
Results 1 to 8 of 8