This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(void) { | |
int n, nAlderantziz, nKopia; | |
printf("Sartu zenbakia: "); | |
scanf("%d", &n); | |
nKopia = n; | |
nAlderantziz = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main(void) { | |
int n, digitua, posizioa; | |
int aurkituta = 0; // aparte jarri det boolean bezela erabiliko dugulako | |
printf("Idatzi zenbakia: "); | |
scanf("%d", &n); | |
printf("Bilatzeko digitua: "); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
int main() { | |
int n, x, y; | |
printf("Sartu zenbakia: "); | |
scanf("%d", &n); | |
for (y=0; y<n * 2; y++) { | |
int topea; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _CRT_SECURE_NO_WARNINGS | |
#include <stdio.h> | |
int main(void) { | |
int zenbakia, zatitzailea, zatidura; | |
char str[128]; | |
zatidura = 0; | |
printf("Sartu zenbakia: "); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _CRT_SECURE_NO_WARNINGS | |
#include <stdio.h> | |
int main(void) { | |
char str[128]; | |
int zenbakia, biderkatzailea, emaitza, i; | |
printf("Sartu zenbakia: "); | |
fgets(str, 128, stdin); | |
sscanf(str, "%d", &zenbakia); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _CRT_SECURE_NO_WARNINGS | |
#include <stdio.h> | |
int main(void) { | |
int n, emaitza; | |
char str[128]; | |
printf("Sartu zenbakia: "); | |
fgets(str, 128, stdin); | |
sscanf(str, "%d", &n); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _CRT_SECURE_NO_WARNINGS | |
#include <stdio.h> | |
int main(void) { | |
int n, lehena, i; | |
char str[128]; | |
printf("Sartu zenbakia: "); | |
fgets(str, 128, stdin); | |
sscanf(str, "%d", &n); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _CRT_SECURE_NO_WARNINGS | |
#include <stdio.h> | |
int main(void) { | |
char str[128]; | |
int n, i, j, topeX; | |
printf("Sartu I letraren tamaina: "); | |
fgets(str, 128, stdin); | |
sscanf(str, "%d", &n); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() | |
{ | |
int n, x, y, xTope; | |
printf("Sartu zenbakia: "); | |
scanf("%d", &n); | |
xTope = (n % 2 == 0) ? (n + 1) : (n); | |
for (y = 0; y < n; y++) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define _CRT_SECURE_NO_WARNINGS | |
#include <stdio.h> | |
int zerrendaIrakurri(float b[]); | |
int errepikatuGabeKopiatu(float bOrg[], int dim, float bDest[]); | |
int bilatuTartean(float b[], int hasiera, int amaiera, float elementu); | |
void zerrendaPantailaratu(float b[], int dim); | |
int main() | |
{ |
OlderNewer