Find Jobs
Hire Freelancers

Vending Machine Visual Basic Task

£10-20 GBP

Concluído
Publicado há aproximadamente 10 anos

£10-20 GBP

Pago na entrega
Program Requirement A program is required to simulate a snack vending machine. The snack machine will vend crisps at 55p, chocolate biscuits at 50p, nuts at 55p and cereal bars at 65p. The program will run in a continuous loop. At points during the program, a menu will be displayed from which the user can either select a snack, or choose to checkout all snacks selected so far. If a snack has been selected the program will display the snack selected and ask the user to select how many they would like, then it will return to the menu. An entry of 0 will cause that selection to be ignored. The menu will always show all snacks that have been selected so far, with the quantities and the total amount to pay. The user can continue to select snacks until they are ready to buy. When the user chooses to checkout their purchases, they will be shown a list of the items and quantities they have chosen, a total amount to pay and a request to enter money. Money entry is simulated by the user entering the value of each coin. The machine will accept £10 notes, £5 notes, £2 coins, £1 coins, 50 pence, 20 pence, 10 pence and 5 pence. It must reject entries of all other monetary values except 0 which means that the user would like to cancel the purchase. As soon as enough money has been entered the snacks will be dispensed, one at a time (shown by displaying messages on the screen). If too much money was entered, change will be given. To maintain the correct working of the machine, the stock of each snack must be continually monitored and occasionally refilled. There will be 50 of each snack loaded in the machine at the beginning of the program. If a user chooses to buy more of a particular snack than is currently present in the machine, the program must tell them and allow them to reselect. The machine is refilled by selecting 0 at the main menu (this option should not be displayed). When 0 is selected the user is asked to enter how many of each snack they are loading into the machine (the total of the amount loaded and the amount still in the machine must not exceed 50). Task Produce a working program to realise your design. Your program must include at least one data structure (e.g. to hold details of the quantity of each snack in the machine or a structure to hold details of all the snacks chosen by the user up to checking out) and must use all data types, control structures and operators. Your program listing must be annotated with appropriate comments. You must submit a program listing and screen dumps to illustrate the operation of your program. For reference please see the attached file.
ID do Projeto: 5728859

Sobre o projeto

3 propostas
Projeto remoto
Ativo há 10 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
Concedido a:
Avatar do Usuário
Alright. I'll do this for 33. WHen do you need this? VB Programmer here. Got 7 years Experience in Web Programming, Software Programming and Database Design. Regards, mleo
£33 GBP em 1 dia
5,0 (5 avaliações)
2,9
2,9
3 freelancers estão ofertando em média £60 GBP for esse trabalho
Avatar do Usuário
I can create it for you. But not at the price you specify. This not pay the job. If you interested this my price.
£80 GBP em 5 dias
5,0 (1 avaliação)
0,8
0,8
Avatar do Usuário
I am possible to perform this program. If I can perform the program, I will do the program by C +SQL Server. If you agree please contact me via gmail at quybx91 or you also contact me by Skype at primula610. We will discuss more about the content of job.
£66 GBP em 7 dias
0,0 (0 avaliações)
0,0
0,0

Sobre o cliente

Bandeira do(a) UNITED KINGDOM
Hayes, United Kingdom
5,0
1
Método de pagamento verificado
Membro desde mar. 1, 2013

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.