Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions introduction/Pavit/Issue#37/Issue#37.cbp
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this file for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have deleted the file now

<CodeBlocks_project_file>
<FileVersion major="1" minor="6" />
<Project>
<Option title="Issue#37" />
<Option pch_mode="2" />
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/Issue#37" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-g" />
</Compiler>
</Target>
<Target title="Release">
<Option output="bin/Release/Issue#37" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-O2" />
</Compiler>
<Linker>
<Add option="-s" />
</Linker>
</Target>
</Build>
<Compiler>
<Add option="-Wall" />
<Add option="-fexceptions" />
</Compiler>
<Unit filename="main.cpp" />
<Extensions>
<code_completion />
<envvars />
<debugger />
<lib_finder disable_auto="1" />
</Extensions>
</Project>
</CodeBlocks_project_file>
Binary file not shown.
16 changes: 16 additions & 0 deletions introduction/Pavit/Issue#37/main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#include <iostream>

using namespace std;

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use proper indentation

Copy link
Contributor Author

@PavitKaur05 PavitKaur05 Oct 23, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have updated file with indentation. Please review it again @AkshayCHD

int main()
{
int num,fact,i;
fact=1;
cout<<"Program to calculate factorial of a number"<<endl;
cout<<"Enter the no"<<endl;
cin>>num;//statement to get value from user
for(i=1;i<=num;i++)
fact=fact*i;
cout<<"The factorial of number = "<<fact<<endl;
return 0;
}
Binary file added introduction/Pavit/Issue#37/obj/Debug/main.o
Binary file not shown.
11 changes: 11 additions & 0 deletions introduction/Pavit/about.md.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Introduction
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not relevant to the issue

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deleted this but i am not getting how its being added again in new pull request


I am Pavit Kaur


# Hobbies
- Programming
- Writing
- Watching movies

## My favourite smile is :laughing: