Question: Please help me with this. C language required only. Write the main logic to calculate the total count of your name using asci values but

Please help me with this. C language required only.

  1. Write the main logic to calculate the total count of your name using asci values but must take input as string?

Example

Input Sara

Output: The total ascii amount is 391

  1. Write down pseudocode to reverse the string without using any built-in functionality?

  1. Write a code that calculates and print the total perfect numbers in the following integer array COM.

int COM[20]={2,4,6,8,20,6,26,28,33,496,4,8128};

  1. What is the working of given function?

  1. Reproduce the following functionality using recursion. Just implement Sum() function. No need to write main function.

int Sum(int i)

{

int s=0;

while(i<=10)

{

s = s + i;

i++;

}

return s;

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!