Archives
Trending
Support
Login
clear text
XML
Django
JavaScript
MATLAB
C
C++
C#
Python
SQL
Shell
Bash
Markdown
YAML
JSON
HTML
CSS
PHP
Java
Ruby
Go
Rust
Swift
Kotlin
Arduino
TypeScript
Perl
Autohotkey
Lua
SQF
R
Scala
Haskell
Groovy
Dart
Clojure
VB.NET
Objective-C
PowerShell
Bash
CoffeeScript
Verilog
#include
#include
using namespace std; void cargarDatos(int matrizC[7][600]); void punto3(int matrizC[7][600]); int main(){ int matrizC[7][600]={}; cargarDatos(matrizC); cout<
>idPedido; while(idPedido >= 0){ cout<<"ID de Cliente: "; cin>>idCliente; cout<<"ID de Torta: "; cin>>idTorta; cout<<"Peso: "; cin>>peso; matrizC[idTorta-1][idCliente-800]=peso; cout<<"ID de Pedido: "; cin>>idPedido; } } void punto3(int matrizC[7][600]){ string tortas[7]= {"Rogel", "Selva Negra", "Cheescake", "Chocotorta", "Lemon Pie", "Balcarce", "Chaja",}; cout << "Punto 3. Peso Maximo registrado por cada torta" << endl; for(int f=0; f<7; f++){ int pesoMax = matrizC[f][0]; for( int c=1; c<600; c++){ if(matrizC[f][c] > pesoMax){ pesoMax=matrizC[f][c]; } } if(pesoMax > 0){ cout << "TORTA: "<
Mark as private (unlisted)
for 30 minutes
for 6 hours
for 1 day
for 1 week
for 1 month
for 1 year
everlasting (like CCCP)