Questions: 1 680

Answers by our Experts: 1 680

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Develop a C program for File Operations that stores n number of the Alphabets from A to Z in a file and display it.



Input :

11

80


Output :

P

Q

R

S

T

U

V

W

X

Y

Z


Write a C program to display the month of year using enumeration.


Input :

6


Output :

June


Write a function named Smallest that takes three integer inputs and returns an integer that is the smallest of the three inputs. Write the prototype for the smallest function. Write a program that gets 3 integers from a user and displays the smallest.


Input :

5

6

8


Output :

5


In online journal system, the user has to give detail information about their abstract of the manual script before upload of source document. The abstract submitted by the author should not more than 300 words. The journal system uses program to count the number of vowels, consonants, digits and symbols in a given paragraph. Write a program to count the number of vowels, consonants, digits and symbols using pointers as reference to the function.


Runtime Input :


1=>see-programming.blogspot.com


Output :


No. of vowels: 8

No. of consonants: 17

No. of digits: 1

No. of symbols: 1

Others: 4


assign a letter grade based on the test percentage according to the following rules

80 to 100 A

70 to 79 B

60 to 69 C

50 to 59 D

0-49 F

display an appropriate message with the test percentage and letter grade for the student . Accumulate the number and total of all the percentages . after all the input calculate the average percentage from valid percentages entered .display the average percentage, number of passes, number of fails and number of invalid percentages. using for, while and do...while program.


Code a program to get an unknown number of test percentages from the user. Accept percentages until the user enters a percentage of -99. This number ( -99) indicates the end of the data and must not be used as part of the calculations.

 Assign a letter grade based on the test percentage according to the following rules:

TEST PERCENTAGE    GRADE

From 80 to 100  ‘A’

From 70 to 79   ‘B’

From 60 to 69   ‘C’

From 50 to 59  ‘D’

0 - 49          'F'

Display the test percentage and letter grade for the student.

Count how many pass percentages (50 - 100) and fail (0 - 49) percentages, as well as invalid percentages (below zero and above 100), are entered.

  then calculate the average percentage (from the valid percentages entered). Display the average percentage, number of passes, number of fails, and number of invalid percentages.


Code a program to get an unknown number of test percentages from the user. Accept percentages until the user enter a percentage of -99. This number ( -99) indicates the end of the data and must not be used as part of the calculations.

 Assign a letter grade based on the test percentage according to the following rules:

TEST PERCENTAGE    GRADE

From 80 to 100  ‘A’

From 70 to 79   ‘B’

From 60 to 69   ‘C’

From 50 to 59  ‘D’

0 - 49          'F'

Display the test percentage and letter grade for the student.

Count how many pass percentages (50 - 100) and fail (0 - 49) percentages, as well as invalid percentages (below zero and above 100), are entered.

  then calculate the average percentage (from the valid percentages entered). Display the average percentage, number of passes, number of fails, and number of invalid percentages.


Code a program to get an unknown number of test percentages from the user. Accept percentages until the user enter a percentage of -99. This number ( -99) indicates the end of the data and must not be used as part of the calculations.


Write a file program to merge the content of source1.txt file and 

source2.txt file to destination.txt file and display the fallowing from 

the destination file.

• Count number of lines

• Count number of words

• Count the frequency of occurrence of the words

source1.txt

 Hello Welcome to KSRCT

 Hello Welcome to KSRCE

source2.txt

 Hello Welcome to KSRIET

 Hello Welcome to KSRCAS

Destination.txt

 Hello Welcome to KSRCT

 Hello Welcome to KSRCE

 Hello Welcome to KSRIET

 Hello Welcome to KSRCAS

Output display after reading from destination.txt file

 Number of lines : 04

 Number of words: 16

 Frequency of words

 Hello appears 4 times

 Welcome appears 4 times

 to appears 4 times

 KSRCT, KSRCE, KSRIET and KSRCAS appears 1 times


Write a program to add the contents of one file at the end of another.  


LATEST TUTORIALS
APPROVED BY CLIENTS