Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Write a program to print the area of a rectangle by creating a class named 'Area' having two functions. First function named as 'setDim' takes the length and breadth of the rectangle as parameters and the second function named as 'getArea' returns the area of the rectangle. Length and breadth of the rectangle are entered through keyboard.(For C sharp)

Write a program to print the area of two rectangles having sides (4,5) and (5,8) respectively by creating a class named 'Rectangle' with a function named 'Area' which returns the area. Length and breadth are passed as parameters to its constructor.(For C sharp)

Write a program to print the area and perimeter of a triangle having sides of 3, 4 and 5 units by creating a class named 'Triangle' with the constructor having the three sides as its parameters.(For C sharp)

Write a program to print the area and perimeter of a triangle having sides of 3, 4 and 5 units by creating a class named 'Triangle' with a function to print the area and perimeter.(For C sharp)


Assign and print the roll number, phone number and address of two students having names "Sam" and "John" respectively by creating two objects of the class 'Student'. (For C sharp)


Instructions:


1. Create a Windows application that will ask the user to enter a student’s information, then display all of


them in a message box when the button is clicked. The application should include the following controls


and their properties:


Control Properties


Three (3) Textboxes


Two (2) Radio buttons Font Size -> 12


Three (3) Combo boxes


One (1) Button Back Color -> Crimson


Flat Style -> Flat


Font Size -> 12


Fore Color -> White


Six (6) Labels Font Size -> 12


Font Bold -> True


2. The program should meet the following specifications:


• Use CamelCase in naming controls.


• Use looping statement to add items on the three (3) combo boxes:


o Day is from 1 to 31;


o Month is from 1 to 12; and


o Year is from 1900 to current year.


• Use a decision statement to determine what combo box value is selected by the user.


3. Name the project as StudentRegistrationApplication and the class or form as


frmStudentRegistration.

Write a program to accept an integer amount from user and tell minimum number of notes needed for representing that amount.

11. The battery life of a certain battery is normally distributed with a mean of 90 days and a standard deviation of 3 days.

For each of the following questions, construct a normal distribution curve and provide the answer.

a)    About what percent of the products last between 87 and 93 days?

b)    About what percent of the products last 84 or less days?

For each of the following questions, use the standard normal table and provide the answer.

c) About what percent of the products last between 89 and 94 days?

d) About what percent of the products last 95 or more days? 



Create an Employee class with the following specifications.

1. EmployeeName as string.

2. BasicSalary, HRA, DA, TAX, GrossSalary and NetSalary as double.

3. Calculate the HRA (15% of BasicSalary), DA (10% of BasicSalary), GrossSalary (BasicSalary + HRA + DA), Tax (8% of GrossSalary) and NetSalary (GrossSalary – Tax).

4. A Constructor to define the EmployeeName and BasicSalary.

5. A method CalculateNetPay to calculate the HRA, DA, Tax, GrossSalary and NetSalary values using the criteria mentioned in the Point 3.

6. A method Display to display the Salary structure


"use strict";


process.stdin.resume();

process.stdin.setEncoding("utf-8");


let inputString = "";

let currentLine = 0;


process.stdin.on("data", (inputStdin) => {

inputString += inputStdin;

});


process.stdin.on("end", (_) => {

inputString = inputString

.trim()

.split("\n")

.map((str) => str.trim());

main();

});


function readLine() {

return inputString[currentLine++];

}


function main() {

let person = JSON.parse(readLine().replace(/'/g, '"'));


/* Please do not modify anything above this line */


/* Write your code here and log the output */

}




length is undefined


LATEST TUTORIALS
APPROVED BY CLIENTS