Ce diaporama a bien été signalé.
Le téléchargement de votre SlideShare est en cours. ×

# write a complete program which initializes part of an array of integer.docx

Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité
Publicité

## Consultez-les par la suite

1 sur 2 Publicité

# write a complete program which initializes part of an array of integer.docx

write a complete program which initializes part of an array of integer grades at the time of its declaration with 6 values and then calls a function to find, return, and print the highest grade.
Solution
#include <stdio.h>
int main()
{
for(int i=0; i<6; i++){
printf(\"Enter Integer Grade : \ \");
}
return 0;
}
int max = 0;
for(int i=0; i<6; i++){
}
return max;
}
Output:
87
65
45
34
87
56
.

write a complete program which initializes part of an array of integer grades at the time of its declaration with 6 values and then calls a function to find, return, and print the highest grade.
Solution
#include <stdio.h>
int main()
{
for(int i=0; i<6; i++){
printf(\"Enter Integer Grade : \ \");
}
return 0;
}
int max = 0;
for(int i=0; i<6; i++){
}
return max;
}
Output:
87
65
45
34
87
56
.

Publicité
Publicité

Publicité