Write a program that takes nouns and forms their plurals on the basis of
these rules:a.If a noun ends in “y”, remove the”y” and add “ies”
b. If a noun ends in “s”, “ch” or “sh”, add “es”
c. In all other cases, just add “s”
7. Write a program using string functions that will accept the name of the capital as input value and will display the corresponding country. CAPITALS COUNTRIES Ottawa Canada Washington D.C. United States Moscow Russia Rome Italy Manila Philippines
Write a program that will accept the currency value and the name of the country and will display the equivalent in U.S. dollar, based on the given list:
COUNTRY CURRENCY U.S. DOLLAR EQUIVALENT
British Pound 0.6 U.S. dollar
Canadian Dollar 1.3 U.S. dollar
Japanese Yen 140 U.S. dollar
German Mark 1.7 U.S. dollar
Philippines Peso 53 U.S. dollar
Write a program using string functions that will accept the name of the country as input value and will display the corresponding capital. Here is the list of the countries and their capitals.
COUNTRY CAPITAL
Canada Ottawa
United States Washington D.C.
U.S.S.R. Moscow
Italy Rome
Philippines Manila
When we multiply different numbers they come with different sign such as (Plus (+), Negative (-)) suppose : (-2) * (+2) = -4, your task is to write such an application that show(Display) the sign of four real number after multiplication by using sequence of if operator.[Note you can’t calculate it] Hint : logical operator
When we multiply different numbers they come with different sign such as (Plus (+), Negative (-)) suppose : (-2) * (+2) = -4, your task is to write such an application that show(Display) the sign of four real number after multiplication by using sequence of if operator.[Note you can’t calculate it]
Define a class (Name, Father name, Roll num, session, GPA, address, semester) and store the record of 10 students in c# windows Application. One should be able to search by name, roll num, session and GPA. Searched data should be displayed in the decesding order
Suppose a publisher is going to market its book and audiocassette. Write
C# windows application with following tasks.
1. Publication class with data member title, price
2. two derived classes book(Page_count) and tape (playing time)
3.Every class should have getdata() and putdata() member function
Write the main() function to test the program.
Define a class (Name, Father name, Roll num, session, GPA, address,
semester) and store the record of 10 students in c# windows Application.
One should be able to search by name, roll num, session and GPA.
Searched data should be displayed in the decesding order
Write a program that takes data, a word at a time and reverses the words of the line. Sample input/output dialogue: Input string value: birds and bees Reversed: bees and birds