summaryrefslogtreecommitdiff
path: root/662/CH4/EX4.10/ex4_10.sce
blob: 3c250582ada8ed3003ccafdda9c0d98910d958fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
                //Example 4.10
                clc
//i=integer type
//x=float type
//c=character type
printf("Enter values for i , x and c in respective order");
printf("\n [Enter values in single line seperated by spaces])  ");

[n,i, x,c]=mscanf("%3d %5f %c");
disp(i,"i = ");
disp(x,"x = ");
disp(c," c = ");