0

Hi, guys I need good program in procedural programming language which shows there is no importance to the data

It should explain the exact drawback of the procedural programming language

5
Contributors
5
Replies
6
Views
8 Years
Discussion Span
Last Post by CoolGamer48
0

Hi thank u for ur replay

I need the program which is like this

struct stack
{
  int top;
  int a;
};

stack e1;
e1.top=-1;
e1.a=45;

In the above program the top not become -1, i.e., we can't give the importance to the data

just like that, I need a program which is in porcedural programming language
which is not giving importance to data;

sorry My english is little bit clumzy

please try to understand, If u can't understand I will try to send again.

0

Hi thank u for ur replay

I need the program which is like this

struct stack
{
  int top;
  int a;
};

stack e1;
e1.top=-1;
e1.a=45;

In the above program the top not become -1, i.e., we can't give the importance to the data

just like that, I need a program which is in porcedural programming language
which is not giving importance to data;

sorry My english is little bit clumzy

please try to understand, If u can't understand I will try to send again.

That isn't a program. What does this phrase mean?

not giving importance to data

2

Here's a procedure

if ( firstPostFailed ) {
    tryAgain();
}
Votes + Comments
Not harsh at all. Creative, instructive and elegant. These are the right adjetives for it.
Harsh, but funny XD
0

Data is very, very important. To try and prove otherwise wouldn't make sense. If you mean create a program that ignores a piece of data:

#include <iostream>
using namespace std;

int main()
{
    int x;
    cin >> x;
    cout << "Hello\n\n";
    cout << "We do not care about your input\n";

    return 0;
}

There's a program where the data in the variable x is not important.

If this isn't what you mean, you need to try and clarify what you want.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.