Question
Mr. Bhola is fed-up of giving individual dates as inputs. He wants a complete calendar starting from 1st January to 31st December for a given
Mr. Bhola is fed-up of giving individual dates as inputs. He wants a complete calendar starting from 1st January to 31st December for a given year. Write a C program that takes input as a int in format yyyy.
Question 9: Multiply all the digits of a number n by each other, repeating with the product until a single digit is obtained. The number of steps required is known as the multiplicative persistence, and the final digit obtained is called the multiplicative digital root of n. For example, the sequence obtained from the starting number 9876 is (9876, 3024, 0), so 9876 has a multiplicative persistence of two and a multiplicative digital root of 0. Write a C Program to for finding number persistency and multiplicative root of any positive integer n. Question 10: Write a program to count and print the number of small letters, capital letters, vowels and spaces in a sentence. It also prints the total length of the sentence. User can enter a full stop . To terminate the sentence. If the user enters any characters other than space or alphabets, it should not be displayed on the screen. (Hint: You may have to use getch( ) instead of getche( ) for the input)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started