Answer:
# include<iostream>
#include<conio.h>
using namespace std;
main()
{
float f, c;
cout<<"enter temperature in Fahrenheit ="
cin<<f;
c=(f-32)/1.8;
cout<<"/n Temperature in Celsius ="<<c;
getch();
}
Explanation:
The conversion formula from Fahrenheit to Celsius is given as:
C= (F-32) x 5/9
we take an input in Fahrenheit and put in above formula and covert it in Celsius.
Answer:
Explanation:
application form and any fees
Answer:
In Java:
import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String name;
System.out.print("First name: ");
name = input.next();
name= name.substring(0, 1).toUpperCase() + name.substring(1).toLowerCase();
System.out.print(name);
}
}
Explanation:
This declares name as string
String name;
This prompts the user for first name
System.out.print("First name: ");
This gets the name from the user
name = input.next();
This capitalizes the first letter of name and makes the other letters to be in lowercase
name= name.substring(0, 1).toUpperCase() + name.substring(1).toLowerCase();
This prints the formatted name
System.out.print(name);
Answer:
The three options are:
1. Avoid sharing files and folders over the network without the permission of your administrators. You might fall in trouble otherwise.
2. Never share your credit card details with a third party through the internet. You can lose a lot of or all your money.
3. Always ensure that your password is strong enough or else your account can be hacked, And never share them with anybody.
Explanation:
Please check the answer.
B. Loosening the drain plug with a screwdriver