Preciso de ajuda com esses algoritmos, se alguém conseguir ajudar, ficarei muito grato.
OBS: Uso o programa VisuAlg.
1. Faça um algoritmo que leia o tempo de duração de um evento em uma fábrica expressa em
segundos e mostre-o expresso em horas, minutos e segundos.
Minha duvida aqui é como colocar o resto da divisão do tempo.
2. Tendo como dados de entrada a altura e o sexo de uma pessoa (?M? masculino e ?F? feminino),
construa um algoritmo que calcule seu peso ideal, utilizando as seguintes fórmulas:
- para homens: (72.7*h)-58
- para mulheres: (62.1*h)-44.7
tentei assim, mas não está dando certo
var
H, Peso :real
M, F : logico
inicio
Leia (H)
Leia (M)
Se (M) entao
(Peso) <- ((72.7*H)-58)
Senao
(Peso) <- (62.1*H)-44,7)
Fimse
fimalgoritmo
3. O cardápio de uma lanchonete é o seguinte:
Especificação Código Preço
Cachorro quente 100 1,20
Bauru simples 101 1,30
Bauru com ovo 102 1,50
Hambúrger 103 1,20
Cheeseburguer 104 1,30
Refrigerante 105 1,00
Escrever um algoritmo que leia o código do item pedido, a quantidade e calcule o valor a ser
pago por aquele lanche. Considere que a cada execução somente será calculado um item.
Ajuda Com Alguns Algoritmos!
Started By Drakezito, 15/03/2011, 08:12
3 replies to this topic
#1
Posted 15/03/2011, 08:12
#2
Posted 25/10/2017, 06:08
Cialis Venta Online cheap 80 mg vardenafil hcl Originale Kamagra Cheap Viagra And Proscar Cialis Dose Quotidienne
#3
Posted 10/11/2017, 13:47
Discounts! great product design
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).
READ MORE
Small Poisson Rose Gold Plated Bracelet wNavy Blue and Beige Reversible Leather Strap ( 89.00 $)
Indian virgin hair body wave 4 pcs indian body wave bundles 8a unprocessed indian hair cheap virgin human hair weave bundles ( 35.00 $)
battlefield 1943 купить
LEBOSH 360 Degree Rotation Car Air Vent Holder ( $4.73 )
Vernee Apollo Lite 4G+ Phablet-233.17 $
Brand new professional anti-fogbreaking uv adjustable swimming goggles men women waterproof silicone glasses adult eyewear ( 10.99 $)
насадка oral b
Brazilian kinky curly virgin hair bundle deals afro kinky curly hair with closure brazilian virgin hair 5pcs lot with free gift ( 71.25 $)
2016 autumn winter cashmere sweaters women fashion sexy v-neck sweater loose 100% wool sweater batwing sleeve plus size pullover ( 78.00 $)
battlefield 1943 обзор
Chic faux leather skull bracelet for men ( 2.53 $)
2 pcslot Front + Back Premium Tempered Glass for iPhone 4s 4 Explosion-proof Anti-scratch Screen Protector Film for iPhone4 s ( 3.82 $)
Fashion side bang human hair side bang straight wig for women ( 47.57 $)
Rodina (teleserial, 2015)
1pair silver platet nice white crystal silver brincos ouro women s hoop earrings for women earring ( 1.10 $)
Products which fall under this return policy can be returned domestically, as long as they are unused and in the original packaging. No questions asked!
If a product that falls under this guarantee is found to be counterfeit, you will get a full refund (shipping costs included).
READ MORE
Small Poisson Rose Gold Plated Bracelet wNavy Blue and Beige Reversible Leather Strap ( 89.00 $)
Indian virgin hair body wave 4 pcs indian body wave bundles 8a unprocessed indian hair cheap virgin human hair weave bundles ( 35.00 $)
battlefield 1943 купить
LEBOSH 360 Degree Rotation Car Air Vent Holder ( $4.73 )
Vernee Apollo Lite 4G+ Phablet-233.17 $
Brand new professional anti-fogbreaking uv adjustable swimming goggles men women waterproof silicone glasses adult eyewear ( 10.99 $)
насадка oral b
Brazilian kinky curly virgin hair bundle deals afro kinky curly hair with closure brazilian virgin hair 5pcs lot with free gift ( 71.25 $)
2016 autumn winter cashmere sweaters women fashion sexy v-neck sweater loose 100% wool sweater batwing sleeve plus size pullover ( 78.00 $)
battlefield 1943 обзор
Chic faux leather skull bracelet for men ( 2.53 $)
2 pcslot Front + Back Premium Tempered Glass for iPhone 4s 4 Explosion-proof Anti-scratch Screen Protector Film for iPhone4 s ( 3.82 $)
Fashion side bang human hair side bang straight wig for women ( 47.57 $)
Rodina (teleserial, 2015)
1pair silver platet nice white crystal silver brincos ouro women s hoop earrings for women earring ( 1.10 $)
#4
Posted 16/11/2017, 23:36
Cost Propecia 1 Mg viagra Methadone And Keflex
Levitra Da 5 Mg generic cialis Cheapest Tadalis Sx Price Clomid Boule Keflex And Constipation
Levitra Da 5 Mg generic cialis Cheapest Tadalis Sx Price Clomid Boule Keflex And Constipation
0 user(s) are reading this topic
0 membro(s), 0 visitante(s) e 0 membros anônimo(s)