Write a program to create Product class name and products are tv Boolean is Smart and mobile Boolean is 5G with
productID > 0,
name > 3,
MFGDate < Today,
ExpDate add 2 years,
price > 0,
Quantity > 0,
Tax > 1 and < 30 ,
Discount > 1 and < 50,
struct price GST -> Basic
Enume GST5 or GST8
override display()
in outpu:-
display
productID,
name,
mfgDate,
ExpDate,
price,
ActualPrice = price + Tax - Discount,
TotalCost = ActualPrice * Quantity
Price.Get GSTPrice * Discount * Quantity
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 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
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”
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
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
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