there was a spelling mistake occurred during the thread post.the thread was How to design a class in c ++program?Explain.
Type: Posts; User: md_nayeem
there was a spelling mistake occurred during the thread post.the thread was How to design a class in c ++program?Explain.
How to design a class in c++ program?Explain.Thanks in advance.
Read the input numbers were given in a txt file and find out the maximum number, minimum number and the sum of those input numbers were given in that file as output by using C++ Programming in simple...
#include<stdio.h>
main()
{
int a[]={1,2,3,4,5};
evenshow(a);
}
void evenshow(int a[])
{
int i;
for(i=0;i<=5;i++)
#include <stdio.h>
#include <string.h>
struct Books {
char Name[50];
char author[50];
char subject[100];
int book_id;
};
GIVE ME AN EXAMPLE WITH C PROGRAM IF IT IS POSSIBLE FOR YOU.tHANKS IN ADVANCE.
i need help to understand how can i write a c program for storing 10
books information like book name,authorname,depertment of book
by using structure and function in c .
Thanks a lot Hodor.
char bname [20];
but after solve this problem i got more error after compile and run this program.
No it is not for homework.I was trying to write a program for storing book information using structure and array in c program.I am new in c programming Language.For this i find this kind of...
#include <stdio.h>
struct Bookinfo
{
char[20] bname;
int pages;
int price;
}book[3];
int main(int argc, char *argv[])
#include<stdio.h>
main()
{
int i,j;
for(i=1;i<=4;i++)
{
for(j=1;j<=4-i;j++)
{
printf(" ");
}
I customize this code as your instruction.Now this program is valid or not.If i compile this code and run .It give me Error.
#include <stdio.h>
main()
{
int i,j;
int...
I tried like this but it did not worked:
#include <stdio.h>
main()
{
int i,j;
int arr[2][5]={{1,2,3,4,5},{6,7,8,9,10}};
for(i=0;i<10;i++){
int flag = 1;
I need an Example.I can not understand how to do that.
I am new in c programming.can i get a example how to do this kind of declaration in this programming.
I tried like this but it did not worked:
#include <stdio.h> int main()
int arr[2][5]={1,2,3,4,5},{6,7,8,9,10}}; // only for testing purpose
int i,j;
for (i=0;i<10;i++) {
int flag = 1;
I am new in Array programming.So i was trying to write a program by using c programming.The Question is"storing 10 number into one/two dimensional array & Print Only Prime Number by using c...
#include <stdio.h>int main()
{
int arr[10]={1,2,3,4,5,6,7,8,9,10}; // only for testing purpose
int i,j;
for (i=0;i<10;i++) {
int flag = 1;
if (arr[i] == 1) flag = 0;
for...
#include <stdio.h>
int main()
{
int arr[10];
int i;
for (i=0;i<10;i++) {
scanf("%d",&arr[i]);
}
for (i=0;i<10;i++) {
int flag = 1;
Squere number storing 10 number into two dimensional array & Print Only Prime Number.
I am new in C programming language .so i am confused how can i write this kind of program:
storing 10 number into one/two dimensional array & Print Only Prime Number by using c programming Language...