Write a program that converts temperatures from Fahrenheit to Celsius and vice versa. Use if-else statements to
Question:
Write a program that converts temperatures from Fahrenheit to Celsius and vice versa. Use if-else statements to check the type of conversion. The user should be able to input the type of conversion and the temperature value
. Student Grading
Implement a grade calculator using switch statements. Accept a numerical grade and output the corresponding letter grade
Part 2: Loops
. Multiplication Table Generate a multiplication table for numbers 1 to 10 using a for loop
. Array Iteration
Given an array of numbers, use a loop to calculate the sum of all elements in the array.
Part 3: Functions and Scope
. Simple Calculator
Create a function that accepts two numbers and an operator (+, -, *, /) as parameters and returns the result of the operation
. Username Validator
Write a function that takes a username as a parameter and returns true if it's valid (at least 6 characters and no spaces) and false otherwise