Introduction to Programming and Languages.pdf

ssuser609e37 753 views 28 slides Sep 24, 2024
Slide 1
Slide 1 of 28
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28

About This Presentation

Programming, the art of instructing computers to perform tasks, has become an integral part of our modern world. From the apps on our smartphones to the complex systems that power our infrastructure, programming underpins countless aspects of our lives. Yet, for many, the concept of programming can ...


Slide Content

TIS APROGRAM?

A program can instruct the
computer to:
= display message on screen
= get input from users
= perform arithmetic operations
= compare values
= perform iterations

11 savaexamplejave 中
1. package com.beginnersbock;
2 import java.util. Scanner;
3 public class Jovabxample

st
Se public static void main(String argsD)
{

$
7 float p, ry ty sinterest;

8 Scanner scan = nen Scanner(System. ind;

9 ‘Systen.out-printC"Enter the Principal : ");

10 p= scan.nextFloatO;

E Systen.out.printC’Enter the Rate of interest : "Ds
円 ドー scan.nextFloatO;

대 Systen.out.printC’Enter the Tine period : ");

14 で ー scan.nextFloatO;

35 scan.closeQ}

16 sinterest = (p © r * t) / 100;

7 Systen.out-print("Sinple Interest is: " ssinterest);
58 3

9 )

[El Problems @ Javadoc. 区 Declaration E) Console 23 机 progress [ax
erminated> JavaExample Lava Application Library java JvaVitua Machines fo
Enter the Principal : 2000

Enter the Rate of interest + 6

Enter the Tine period : à

Simple Interest is: 360.0

TYPES OF PROGRAMMING LANGUAGE | 局

Programming Language
can be classified into two
generations:

= Low Level Language

= High Level Language

INTRODUCTION TO

PROGRAMMING
MR. ROWELL L. MARQUINA Y
Professional Lecturer,

Polytechnic University of the Philippines

Email Address:
[email protected]
[email protected]

[email protected] SIR WELL EDUCATION

LEARN.GROW.ACHIEVE