Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new program updated #20445

Merged
merged 2 commits into from
Nov 1, 2018
Merged

new program updated #20445

merged 2 commits into from
Nov 1, 2018

Conversation

damascus8
Copy link
Contributor

@damascus8 damascus8 commented Oct 18, 2018

Program to show variables

#include<stdio.h>
int
main ()
{

  int i;
  float f;
  printf ("enter integer value\n");
  scanf ("%d", &i);
  printf ("enter float value\n");
  scanf ("%f", &f);
  printf ("integer value is:%d \nfloat value is:%f \n ", i, f);
  return 0;

}

#OUTPUT

enter integer value
1
enter float value
2.2
integer value is:1
 float value is:2.2 
  • I have read freeCodeCamp's contribution guidelines.
  • My pull request has a descriptive title (not a vague title like Update index.md)
  • My pull request targets the master branch of freeCodeCamp.
  • None of my changes are plagiarized from another source without proper attribution.
  • My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.

Closes #XXXXX

damascus8 and others added 2 commits October 19, 2018 02:27
## Program to show  variables

```C
#include<stdio.h>
int
main ()
{

  int i;
  float f;
  printf ("enter integer value\n");
  scanf ("%d", &i);
  printf ("enter float value\n");
  scanf ("%f", &f);
  printf ("integer value is:%d \nfloat value is:%f \n ", i, f);
  return 0;

}

```

#OUTPUT
```C
enter integer value
1
enter float value
2.2
integer value is:1
 float value is:2.2 

```
@cmccormack
Copy link
Member

Tested code locally, looks good. Pending CI test completion for approval/merge.

@1andee 1andee merged commit 8e843dc into freeCodeCamp:master Nov 1, 2018
matthew-beaty pushed a commit to matthew-beaty/freeCodeCamp that referenced this pull request Nov 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants