No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
looks like they don't work the same. you either print 1 2 3 4.......... or you print ..........4 3 2 1 which do you intend to print? your end condition will quit you out for all 3. it doesn't look like you'll be going deep enough for a stack overflow.
[QUOTE=luisin22;1752381]Program sba2(INPUT,OUTPUT); var counter, count, totalfee, entry:Integer; last:string; last:array [1…999] of string; fee:array[1…999] of integer; money:array [1…999] of integer; Begin counter:=0; count:=0; totalfee:=0; entry:=0; Write('Enter number of money spent $: '); readln (spent); while spent <> 0 Begin counter=counter+1 Write('Enter Tourist last name: '); Readln( last[counter]); Gst:= spent * 0.10; …
[QUOTE=shean1488;1757970]Hi everybody. I'm trying to write the program that will read the file and delete blank spaces ONLY after the text. here is the text : [CODE]serg@serg-PORTEGE-Z835:~$ cat sample.txt Now is the [/CODE] here is the the same in hex: [CODE]serg@serg-PORTEGE-Z835:~$ od -x sample.txt 0000000 2020 2020 2020 2020 2020 …
[QUOTE=Dornio-san;1751510]Hi, I'm looking for with some pascal code. I have to make a program which allows you to input a name and an amount four times. Then it is supposed to output the name, three percentages of the amount and the maximum of one of the percentage out of the …
[QUOTE=shean1488;1757539]Hi everybody. I'm new in C and would like to know how to delete last elements in the array? lets say I have array arr = {1,2,3,4,5} and whant to delet last two elements. is it possible to do?[/QUOTE] Do you want to re dimension the array or set the …
The End.
Smileydog