Python,C,C++ and JAVA programs for CBSE, ISC, B.Tech and I.T Computer Science and MCA students

The Programming Project: March 2022

Sunday, March 27, 2022

ICSE Java Programming String Edit 2018 Q6

Pronic Number || Program ICSE Class X
Write a program to accept a string in lower case and change the first letter of every word to upper case.
Display the new string.
Sample input: we are in cyber world.
Sample output: We Are In Cyber World.

ENTER A STRING IN LOWER CASE:

Saturday, March 26, 2022

ICSE 2018 Pronic Number Question 5

Pronic Number || Program ICSE Class X
Write a program to input a positive number and check and print whether it is a Pronic number or not. (Pronic number is a number which can be written as product of two consecutive integers)
Example:
12 = 3 x 4
42 = 6 x 7
20 = 4 x 5

ENTER A POSITIVE INTEGER: