Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- int chaves[] = {0};
- int main() {
- chaves[0] = 10;
- chaves[1] = 15;
- chaves[2] = 20;
- chaves[3] = 25;
- for(int i=0; i!= 4; i++) {
- std::cout << chaves[i] << std::endl;
- }
- chaves[0] = 10;
- chaves[1] = 0;
- chaves[2] = 20;
- chaves[3] = 25;
- chaves[4] = 40;
- chaves[5] = 35;
- for(int i=0; i!= 6; i++) {
- std::cout << chaves[i] << std::endl;
- }
- system("pause");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement