ارجو من خبراء السي مساعدتي في حل هذا التمرين
واشكر جهودكم سلفا
write aprogram that performs the following: a. count characters. change text numbers to integers and converts capital character to small. b. cos(x),sin(x) c.count perfects,count digits and prime number d.binary and decimal e.exit if user presses a or A ,the following sub menu should be displayed 1-count characters (program should read s set of characters from the keyboard until q is pressed.the program should count the occurrence of each of these characters (a,e and r)) 2-change text number to integer: (program reads a text containing mixed text and number,your program prints the numbers only as integers) 3-capital to small: (program reads any character and converts it to small) 4-return to the main menu if user presses b or B , the following sub menu should be displayed: 1-sin(x) (sin(x)=(x-x^3\3!+x^5\5!-x^7\7!.....x^n!) cos(x) cos(x)=1-x-x^2\2!-x^4\4!-x^6/6!.....x^n!) 3- return the main menu if user presses c or C the following sub menu should be displayed : count perfects, (program should counts the perfect numbers from 1 to 500) 2-count digits: (program should counts the digits of any integer as : following:x=123digits=3) sum of prime:finds the sum of primes from 1 to 100) 4-return to the main menu if user presses d or D , the following sub menu should be displayed: 1- binary to decimal (program should reads a binary number and convert it to decimal) 2- decimal to binary (program reads a decimal number and convert it to binary) 3-return to the main menu to Exit press e or E
