§Construct a flowchart that will convert an inputted number in Fahrenheit to its equivalent measure in Celsius using Formula: C = (5/9)*(F-32)
use flowchart to Find Cube of a Number
String Slicing
Given two strings
function main() {
let inputString = readLine();
const subString = readLine();
/* Write your code here */
}
DRAW FLOWCHART TO Calculate area of a rectangle using area = base * height
Write an inline function sum() with four parameters that calculates the
arguments
provided and returns their sum.
Parameters: Four variables of type long.
Returns: The sum of type long.
Use the default argument 0 to declare the last two parameter.
Using flowcharts, write an algorithm to read 100 numbers and then display the sum.
Design an algorithm and the corresponding flowchart for finding the sum of the numbers 2, 4, 6, 8, …, n
algorithm to read 100 numbers then display the largest.
In a company an employee is paid as under: If his basic salary is less than Rs. 1500, then HRA = 10% of basic salary and DA = 90% of basic salary. If his salary is either equal to or above Rs. 1500, then HRA = Rs. 500 and DA = 98% of basic salary. If the employee's salary is input by the user write a program to find his gross salary.
Design a class TBills to include customer_id, customer_name, phone number, calls and usagecost and also include the following member functions
-getCustomerData()- To input customer data(customer_id, customer_name, phone number,calls)
-usage_cost() - to calculate the monthly telephone bills and calculate the usage cost of telephone bill as per the following rule:
• Minimum Rs. 200 for upto 100 calls.
• Plus Rs. 0.60 per call for next 50 calls.
• Plus Rs. 0.50 per call for next 50 calls.
• Plus Rs. 0.40 per call for any call beyond 200 calls.
-monthlyTelephoneBills() - to display monthly telephone bills of customer