Loading...

    AD: 猛买 | 快递查询 | Jobsdigg | 很棒的男装店

在Delphi里的第一个程序

可任意转载,但必须在醒目位置以超链接形式标明文章原始出处和作者信息
原文地址:http://www.blogkid.net/archives/63.html

Code:

program Project2;

{$APPTYPE CONSOLE}

uses

SysUtils;

var a,b,c : Integer;

begin

{ TODO -oUser -cConsole Main : Insert code here }

write (‘Please input a:’);

readln (a);

write (‘Please input b:’);

readln (b);

c:=a-b ;

writeln (‘a-b=’,c) ;

readln;

end.

同时恭喜自己荣升课代表……

0 Responses to “在Delphi里的第一个程序”


  1. No Comments

Leave a Reply