我最近在学编程,碰到一些练习题不会,可以教一下小弟?1、试写出下列程序段的屏幕输出。(1)writeln(`*****`); writeln(`* *`); writeln(`*****`);(2)write(`*****`); write(`* *`); write(`*****`);(3)subject:=`Pascal Programming`; writeln(`I like`); writeln(`subject`); writeln(` very much`);(4)subject:=`Pascal Programming`; write(`I like`); write(`subject`); write(` very much`);2、假设i和j都是整型变量,其中i=5,j=8,k为实型变量,且k=345。
678。试写出下列每个程序段的输出。
(1)writeln(`i`,`j`,`k`);(2)writeln(`i`,`j`:5,`k`:5);(3)writeln(i,j,k);(4)writeln(`i=`,i);(5)write(`Total=`); write(i+j:5);(6)writeln(`Sum of i and k is `,i+k); write(`Sum of`,i:3,`and`); write(k:1:2,`is`); writeln(i+k:1:0);(8)write(i:i); write(j:j); write(k:j:i);3、设一个常量值为“computer”,用writeln语句打印出下列结果: Computer ComputerComputer ComputerComputerComputer。