SlideShare una empresa de Scribd logo
1 de 3
Descargar para leer sin conexión
MAPA - ESOFT - ALGORITMOS E LÓGICA
DE PROGRAMAÇÃO II – 522023
Entre em contato com a nossa equipe que vamos assessorar com esse trabalho
Mais de 10 anos no mercado acadêmico
CONTATO
(15) 98170-8778
Tele gram.:( 15) 98170-8778
E-MAIL: Mvf5system@gmail.com
QUESTÃO 1

Caro(a) estudante,
Temos por certo que os desafios sempre contribuem para a aquisição de conhecimentos e
competências desejadas. Assim, faz-se necessário relacionar o que se aprende com situações
reais que podem ser encontradas no cotidiano. Nesta atividade, você é convidado(a) a realizar
uma atividade para verificar como a disciplina em questão pode contribuir na sua experiência e
formação profissional.
Atente-se para as informações e realize um ótimo trabalho!
-----------------
O setor de eventos, apesar de ter sofrido nos anos de 2020, 2021 e um pouco ainda em 2022,
volta, em 2023, com força total. Podemos observar vários shows internacionais retornando ao
Brasil, fora os próprios shows nacionais cada vez mais em alta e com lotação máxima na maioria
dos eventos.
Com a alta de shows, você, como desenvolvedor(a), foi convocado(a) por um produtor de
eventos de sua cidade para criar um sistema em que venda os ingressos de um show.
Funcionalidades a serem implementadas
1. Os ingressos a serem vendidos devem armazenar o nome, CPF e a data de nascimento do
comprador para que evite o comércio por meio de cambistas.
2. Além da venda do ticket, o programa precisa ter, também, uma funcionalidade que lista os
dados das pessoas com informações de nome, CPF e data de nascimento.
3. Outra funcionalidade necessária é a validação do ingresso pelo CPF. Essa funcionalidade tem
por objetivo ser usada na entrada do evento, assim, ao digitar o CPF, o programa buscará os
dados da pessoa que comprou o ingresso.
Requisitos
1. Esse sistema deve ser desenvolvido na linguagem C e deve ter um menu de acesso com
quatro opções, conforme listado a seguir:
a) Vender ingresso
b) Listar ingressos vendidos
c) Validar ingresso
d) Sair
2. Criar sub-rotinas para as funcionalidades "vender ingresso", "listar ingresso" e "validar
ingresso".
A sua atividade MAPA deve ser entregue em um arquivo de código-fonte para linguagem C
(extensão .c).
Exemplo do formato da listagem de ingressos
Nome: Rogério Napoleão Júnior
CPF: 123.123.123-11
Ano de Nascimento: 1985
===============================
Nome: João
CPF: 123.123.123-11
Ano de Nascimento: 1985
===============================
Algumas funções que serão úteis durante o desenvolvimento do programa:
* system(“pause”) — Chamada de sistema que “pausa” o programa e o faz aguardar pelo
usuário.
* system(“cls”) — Chamada de sistema que limpa os caracteres que foram impressos na tela
anteriormente.
* fflush(stdin) — Limpar o buffer do teclado. Essa função deve sempre ser utilizada após usar
alguma função de entrada de dados como o scanf, gets etc. Isso se dá pois, em algumas
situações, o buffer do teclado mantém “lixo de memória”, prejudicando a próxima operação de
entrada do programa.
* A função setlocale(LC_ALL, "Portuguese") da biblioteca locale.h pode ser útil caso você queira
que os acentos e as pontuações da língua portuguesa sejam impressos corretamente.
RESPOSTA NO
FINAL!!!!
RESPOSTA!!!!
Solicite um orçamento com
a nossa equipe
MAPA - ESOFT - ALGORITMOS E LÓGICA
DE PROGRAMAÇÃO II – 522023
Entre em contato com a nossa equipe que vamos assessorar com esse trabalho
Mais de 10 anos no mercado acadêmico
CONTATO
(15) 98170-8778
Tele gram.:( 15) 98170-8778
E-MAIL: Mvf5system@gmail.com

Más contenido relacionado

Destacado

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...DevGAMM Conference
 

Destacado (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

Venda de ingressos

  • 1. MAPA - ESOFT - ALGORITMOS E LÓGICA DE PROGRAMAÇÃO II – 522023 Entre em contato com a nossa equipe que vamos assessorar com esse trabalho Mais de 10 anos no mercado acadêmico CONTATO (15) 98170-8778 Tele gram.:( 15) 98170-8778 E-MAIL: Mvf5system@gmail.com QUESTÃO 1  Caro(a) estudante, Temos por certo que os desafios sempre contribuem para a aquisição de conhecimentos e competências desejadas. Assim, faz-se necessário relacionar o que se aprende com situações reais que podem ser encontradas no cotidiano. Nesta atividade, você é convidado(a) a realizar uma atividade para verificar como a disciplina em questão pode contribuir na sua experiência e formação profissional. Atente-se para as informações e realize um ótimo trabalho! ----------------- O setor de eventos, apesar de ter sofrido nos anos de 2020, 2021 e um pouco ainda em 2022, volta, em 2023, com força total. Podemos observar vários shows internacionais retornando ao Brasil, fora os próprios shows nacionais cada vez mais em alta e com lotação máxima na maioria dos eventos. Com a alta de shows, você, como desenvolvedor(a), foi convocado(a) por um produtor de eventos de sua cidade para criar um sistema em que venda os ingressos de um show. Funcionalidades a serem implementadas 1. Os ingressos a serem vendidos devem armazenar o nome, CPF e a data de nascimento do comprador para que evite o comércio por meio de cambistas. 2. Além da venda do ticket, o programa precisa ter, também, uma funcionalidade que lista os dados das pessoas com informações de nome, CPF e data de nascimento. 3. Outra funcionalidade necessária é a validação do ingresso pelo CPF. Essa funcionalidade tem por objetivo ser usada na entrada do evento, assim, ao digitar o CPF, o programa buscará os dados da pessoa que comprou o ingresso. Requisitos
  • 2. 1. Esse sistema deve ser desenvolvido na linguagem C e deve ter um menu de acesso com quatro opções, conforme listado a seguir: a) Vender ingresso b) Listar ingressos vendidos c) Validar ingresso d) Sair 2. Criar sub-rotinas para as funcionalidades "vender ingresso", "listar ingresso" e "validar ingresso". A sua atividade MAPA deve ser entregue em um arquivo de código-fonte para linguagem C (extensão .c). Exemplo do formato da listagem de ingressos Nome: Rogério Napoleão Júnior CPF: 123.123.123-11 Ano de Nascimento: 1985 =============================== Nome: João CPF: 123.123.123-11 Ano de Nascimento: 1985 =============================== Algumas funções que serão úteis durante o desenvolvimento do programa: * system(“pause”) — Chamada de sistema que “pausa” o programa e o faz aguardar pelo usuário. * system(“cls”) — Chamada de sistema que limpa os caracteres que foram impressos na tela anteriormente. * fflush(stdin) — Limpar o buffer do teclado. Essa função deve sempre ser utilizada após usar alguma função de entrada de dados como o scanf, gets etc. Isso se dá pois, em algumas situações, o buffer do teclado mantém “lixo de memória”, prejudicando a próxima operação de entrada do programa. * A função setlocale(LC_ALL, "Portuguese") da biblioteca locale.h pode ser útil caso você queira que os acentos e as pontuações da língua portuguesa sejam impressos corretamente. RESPOSTA NO FINAL!!!!
  • 3. RESPOSTA!!!! Solicite um orçamento com a nossa equipe MAPA - ESOFT - ALGORITMOS E LÓGICA DE PROGRAMAÇÃO II – 522023 Entre em contato com a nossa equipe que vamos assessorar com esse trabalho Mais de 10 anos no mercado acadêmico CONTATO (15) 98170-8778 Tele gram.:( 15) 98170-8778 E-MAIL: Mvf5system@gmail.com