₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,043 members, 8,420,029 topics. Date: Thursday, 04 June 2026 at 09:51 AM

Toggle theme

PASCAL Program - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingPASCAL Program (1681 Views)

1 Reply (Go Down)

PASCAL Program by lordprizzle(op): 2:46pm On May 04, 2015
smileyI just started pascal programming and our lecturer gave us this program to compute.
x=(m/n-2)/(a-b)+3 . please I need u guys help in solving this problem.
Re: PASCAL Program by Borwe: 2:50pm On May 04, 2015
lordprizzle:
smileyI just started pascal programming and our lecturer gave us this program to compute.
x=(m/n-2)/(a-b)+3 . please I need u guys help in solving this problem.
WOW! PASCAL is still being taught? What are you doing bachelor degree or Masters Degree or PHD?
Re: PASCAL Program by lordprizzle(op): 2:55pm On May 04, 2015
Borwe:
WOW! PASCAL is still being taught? What are you doing bachelor degree or Masters Degree or PHD?
Bsc in statistics/computer science
Re: PASCAL Program by Borwe: 3:00pm On May 04, 2015
lordprizzle:
Bsc in statistics/computer science
Wow, Computerscience? I know guys who learn it in my school but they don't teach PASCAL over here, maybe due to basics like java and c++ is already hard for most of the students. By the way you learned c++ or java or python in school yet?((Not yourself but via university))
Re: PASCAL Program by lordprizzle(op): 3:09pm On May 04, 2015
Borwe:
Wow, Computerscience? I know guys who learn it in my school but they don't teach PASCAL over here, maybe due to basics like java and c++ is already hard for most of the students. By the way you learned c++ or java or python in school yet?((Not yourself but via university))
we haven't but next semester.. pascal is an introductory programming language
Re: PASCAL Program by Borwe: 4:29pm On May 04, 2015
I myself don't even know PASCAL sad
Re: PASCAL Program by kudaisi(m): 5:07pm On May 04, 2015
I haven't worked in pascal for years. But I'm positive your answer should look something like this. If you are comfortable with the linux terminal you can run it online @ Tutorialspoint
http://www.tutorialspoint.com/compile_pascal_online.php

Program solve_equation;
Var
m, n, a, b, x : real;

Begin {no semicolon}
Write('Input number m:');
Readln(m);
Write('Input number n:');
Readln(n);
Write('Input number a:');
Readln(a);
Write('Input number b:');
Readln(b);
x:=(m div (n-2)) div ((a-b)+3);
Write('The result is: ');
Writeln(x);
Readln;
End.
Re: PASCAL Program by lordprizzle(op): 6:55pm On May 04, 2015
Borwe:
I myself don't even know PASCAL sad
same here man.. its the first programming language am learning
Re: PASCAL Program by lordprizzle(op): 7:01pm On May 04, 2015
kudaisi:
I haven't worked in pascal for years. But I'm positive your answer should look something like this. If you are comfortable with the linux terminal you can run it online @ Tutorialspoint
http://www.tutorialspoint.com/compile_pascal_online.php

Program solve_equation;
Var
m, n, a, b, x : real;

Begin {no semicolon}
Write('Input number m:');
Readln(m);
Write('Input number n:');
Readln(n);
Write('Input number a:');
Readln(a);
Write('Input number b:');
Readln(b);
x:=(m div (n-2)) div ((a-b)+3);
Write('The result is: ');
Writeln(x);
Readln;
End.
thanks man am grateful
1 Reply

Using Pascal To Calculate CpgaIS Pascal A Good Programming LanguageI Need Compilers For Java,c++, PASCAL And Python Available In Android Format234

How To Consume Restful API In C#I Have This Annoying Bug In Node Js For The Past 5 Days..helpTimetabling App