Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Matlab by al_collado ( 6 years ago )
%{
  This demo program shows how good a Matlab Program is
  Written by: Chester Anthony Yabut
  Date: December 9, 2020
  Time: 2:30 PM
  Program: BS GEO
  Course: CS10-8L
  Section: B10
  School: Mapua University
%}
inches = input("Inches to feet, cm, meter, yard conversion  \n");
 
feet = inches * 0.083333;
yard = inches * 0.0277778;
centimeter = inches * 2.54;
meter = inches * 0.0254;
 
 
fprintf('%.2f \n', meter );
fprintf('%.2f \n', centimeter);
fprintf('%.2f \n', yard);
fprintf('%.2f \n', feet);

 

Revise this Paste

Your Name: Code Language: