The following C program was created by a student. Use it to answer the question that follows. # include <iostream.h>
float main() {
char str[50];
int i;
printf(“Enter a value :’);
scanf(“%s %f”,str, &i);
Printf(“\n You entered:%c %d”,str,i);
return 0;
}
Rewrite the program correctly.
 Viewed: 349 times For Better experience and learning,for video answers, after video ends playing, click next question in the questions list!!!