tnx ^^ sirama
Type: Posts; User: Marvin Flores
tnx ^^ sirama
help me i don`t know how to solve this y=5a-2b on TC c++
tnx for advice
tnx for helping me!!! laserlight and std10093
#include <stdio.h>main()
{
int a[10],x,z;
printf("enter a number");
for(x=0;x<=9;x++)
{
scanf("%d" ,&a[x]);
}
printf("enter a number");
scanf("%d" ,&z);
Tnx for the code std10093
now im try to remove this
12043
#include <stdio.h>int main()
{
int a[10],x,z;
printf("enter a number");
for(x=0;x<=9;x++)
{
scanf("%d" ,&a[x]);
}
for(x=0;x<=9;x++)
{
i can`t run program perfectly help me!!!
enter # 1 2 3 4 4 4 4 4 4 4
enter # 4
answer 5
i want count the same value in array
like this
enter # 1 2 3 4 4 4 4 4 4 4
#include <stdio.h>
int main()
{
int a[10],x,z;
printf("enter a number");
for(x=0;x<=9;x++)
{
scanf("%d" ,&a[x]);
}
for(x=0;x<=9;x++)
Help i need array+loop and count C++
i need code for count the same value in array
Ex.
____________________________________________
Enter 10 #:1 2 3 4 4...