[ create a new paste ] login | about

Link: http://codepad.org/MFLvgpRy    [ raw code | output | fork ]

Python, pasted on May 21:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
print('Bem vindo a Lanchonete do João Victor Gonçalves Mancini’ )
valororiginal = float( input(100 ') )
include <stdio.h>
void main() {
int n = 1, i;//declaração de inteiros para utilizacao em lacos de repeticao
char products[8][60] = {  //declaracao de matriz para armazenar  as strings produtos"
Codigo | Descrição | Valor(R$)",
"100 | Cachorro-quente | 9,00",
"101 | Cachorro-Quente Duplo | 11,00",
"102 | X-Egg | 12,00",
"103 | X-Salada | 13,00",
"104 | x-Bacon | 14,00",
"105 | X-tudo | 17,00",
"200 | Refrigerante Lata| 5,00",
"201 | Chá Gelado | 4,00",
};
float precototal = 0;//declaração de float precototal para armazenar preçototal da compra
for (i = 0; i < 8; i


Output:
1
2
  Line 1
SyntaxError: Non-ASCII character '\xc3' in file t.py on line 1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details


Create a new paste based on this one


Comments: