Write a program, using nested loops, to display the following:
7 6 5 4 3 2 1
7 6 5 4 3 2
7 6 5 4 3
7 6 5 4
7 6 5
7 6
7
Write a program, using nested loops, to display the following:
1
12
123
1234
12345
This program simulate the stock management of a Furniture Shop. This shop deals with only two type of Furnitures BookShelf and DiningTable only. The program should accept details any 5 furnitures(each can be either BookShelf or DiningTable), the program should show a menu that allow the user to select choice of Furniture. After accepting the required no of Furniture details program will show accepted details and TotalCost of Accepted Stock
This exercise contains a base class named Furniture to hold the common properties of all type of Furnitures, and BookShelf and DiningTable class as child class with additional properties relevant to child classes. Program class has below functions:
ddToStock(Furniture []) : int
+TotalStockValue(Furniture []) : double
+ShowStockDetails(Furniture []) : int
+Furniture : class
+ BookShelf : class
+ DiningTable : classCreate a program using C# that implements the stream ciphers Cryptographic method . A stream cipher method inputs digits, bits, or characters and encrypts the stream of data. The onetime pad is an example of a stream cipher.
In this formative you have been requested to create an application that will work as the One-time pad (OTP), also called Vernam-cipher or the perfect cipher. This is a crypto algorithm where plaintext is combined with a random key and generate a ciphertext
This program simulate the stock management of a Furniture Shop. This shop deals with only two type of Furnitures BookShelf and DiningTable only. The program should accept details any 5 furnitures(each can be either BookShelf or DiningTable), the program should show a menu that allow the user to select choice of Furniture. After accepting the required no of Furniture details program will show accepted details and TotalCost of Accepted Stock
This exercise contains a base class named Furniture to hold the common properties of all type of Furnitures, and BookShelf and DiningTable class as child class with additional properties relevant to child classes. Program class has below functions:
+AddToStock(Furniture []) : int
+TotalStockValue(Furniture []) : double
+ShowStockDetails(Furniture []) : int
The program should also contain definitions for class types as suggested below:
+Furniture : class
+ BookShelf : class
+ DiningTable : class
Calculate total stock value of the stock available in a furnitur
This program simulate the stock management of a Furniture Shop. This shop deals with only two type of Furnitures BookShelf and DiningTable only. The program should accept details any 5 furnitures(each can be either BookShelf or DiningTable), the program should show a menu that allow the user to select choice of Furniture. After accepting the required no of Furniture details program will show accepted details and TotalCost of Accepted Stock
This exercise contains a base class named Furniture to hold the common properties of all type of Furnitures, and BookShelf and DiningTable class as child class with additional properties relevant to child classes. Program class has below functions:
+AddToStock(Furniture []) : int
+TotalStockValue(Furniture []) : double
-
+ShowStockDetails(Furniture []) : int
-
The program should also contain definitions for class types as suggested below:
+Furniture : class
+ BookShelf : class
+ DiningTable : class
-
You need to identity the classes involed in this system and their relationship
implement a C# method
TemperatureConverter(
double
tempInCelsius
)
which
accepts the temperature in Celsius as input parameter and returns the temperature in
Fahrenheit
as the output value.
Note:
T
(°F)
=
T
(°C)
× 1.8 + 32
Sample Input
Expected Output
tempInCelsius = 32
89.6
Create a C# Windows Forms application for Eduvos using Visual Studio. The application should be titled “Eduvos Registration App”. It must consist of the Eduvos Logo, which you can get from the internet (see Figure 1). The application must allow the user to enter their student registration details and store them. Your application must consist of a class for handling the student details. The student details you need to capture are the Student Number, Name, ID Number, Cell Number and the enrolled degree. The class must also consist of a constructor which initialises the public properties. The class must also contain a constructor which sets the properties to values received from the main form. The application should accept values from a user which will be typed into the textboxes. The application must look as follows:
Create an console application to book train tickets. Create a Passanger class with (Name, Age) and write a function called TicketBooking(no_of_tickets) that takes no.of tickets to be booked. If the no of tickets is > 2 per booking, raise an user defined exception, and print "cannot book more than 2 tickets". Else Print "Ticket Booked Successfully". Add a Test class to call TicketBooking method by accepting all required details.