text: 
  /*Exercise 1 - Calculations
  
  Convert the C program given below which converts a length given in cm to inches to a C++ program.
  
  Please Note that the input command in C++ is std::cin. This is a representation of the Keyboard.
  
  e.g.
  
  float data1;
  int data2;
  scanf("%f", &data1); --> std::cin >> data1;
  scanf("%d", &data2); --> std::cin >> data2; 
  You already know that printf() in C is std::cout in C++ e.g.
  
  printf("Hello World") --> std::cout << "Hello World";
  2.54cm = 1 inch
  */
  #include <iostream>
  
  int main ()
  {
  	float cmlen, inchlen;
  	
  	std::cout << "Enter length in cm : ";
  	std::cin >> cmlen;
  	
  	std::cout << std::endl;
  	
  	inchlen = cmlen / 2.54;
  	
  	std::cout << "Lenth in inches : " << inchlen << std::endl;
  	
  	return 0;
  }
  
  