okay i tried:
void printAttitude(int a)
{
if (a==1)
printf("disagree\n");
if (a==2)
printf("no opinion\n");
if (a==3)
Type: Posts; User: Ninjabelly
okay i tried:
void printAttitude(int a)
{
if (a==1)
printf("disagree\n");
if (a==2)
printf("no opinion\n");
if (a==3)
Here is the question:
Write the definition of a function printAttitude , which has an int parameter and returns nothing. The function prints a message to standard output depending on the...
Write the definition of a function printArray , which has two parameters. The first parameter is an array of int s and the second is an int , the number of elements in the array. The function does...
Oh! that make's sense! Thank you!
print 9 numbers instead.
Okay, thanks,
i tried to change it to 9, but that didn't work either, do i have to change more of the code than just that line? sorry, i just dont understand arrays and files very much and this was...
okay here is what i have now, ill correct the *'s next, but when i execute this code:
#include<stdio.h>
#include <stdlib.h>
//function proto types
int findLargest(int *array);
here i what i have so far:
#include <stdio.h>
int Largest(int*[]);
int Average(int*[]);
int Sorted(int*[]);
Hi i have a programming assignment with the following directions:
Develop a program to meet the following requirements:
1. Must use at least two functions, not including Main
2. Must use...
Sorry, i didn't know. But no i didn't copy the code, i'm in the same class as him and we had to create a txt file that the first part of the code opens(our professor gave us that), so mine not...
Does anyone know why the txt file failed to open? i have a similar assignment.