Wednesday, 13 November 2024

Even Odd Number

 /* Check a number is even or odd */


#include<stdio.h>
int main()
{
    int a;
    printf("Enter a number: ");
    scanf("%d",&a);
    if(a%2==0)
        printf("Even Number");
    else
        printf("Odd Number");
   return 0;
}

------------
/* Check a number is even or odd */

#include
int main()
{
int a;
printf("Enter a number: ");
scanf("%d",&a);
if(a%2!=0)
printf("Odd Number");
else
printf("Even Number");
return 0;
}

Thursday, 8 June 2023

The Thrill of Programming: Exploring the Satisfaction Behind the Code

Different individuals find satisfaction in programming for various reasons. Here are some common factors that tend to bring satisfaction to people in programming:

1. Problem-solving: Many programmers enjoy the challenge of solving complex problems and puzzles through coding. The ability to break down a problem into smaller, manageable parts and devise an elegant solution can be highly rewarding.

2. Creativity and expression: Programming allows individuals to express their creativity by designing and building applications, websites, or software solutions. It provides an outlet for imagination and innovation, allowing programmers to bring their ideas to life.

3. Continuous learning: Technology is constantly evolving, and programming offers endless opportunities for learning and growth. Programmers often find satisfaction in exploring new technologies, languages, frameworks, and tools, expanding their knowledge and staying at the forefront of the field.

4. Building something tangible: Programming allows individuals to create tangible products that have real-world impact. Whether it's developing software, websites, mobile apps, or even hardware projects, seeing the end result of their work being used and appreciated by others can be immensely fulfilling.

5. Collaboration and teamwork: Programming often involves collaborating with others, whether it's working on a team project or contributing to open-source communities. Many programmers find satisfaction in collaborating, sharing knowledge, and building something together with like-minded individuals.

6. Automation and efficiency: Programming allows for automating repetitive tasks, streamlining workflows, and improving efficiency. Seeing how code can simplify and optimize processes, saving time and effort, can bring a sense of accomplishment and satisfaction.

7. Impact and problem-solving for others: Programming offers opportunities to create solutions that positively impact people's lives. Whether it's developing software to improve healthcare, education, communication, or addressing social issues, knowing that their work has a meaningful impact on others can be highly rewarding.

8. Mastery and craftsmanship: Becoming proficient in programming requires continuous learning and practice. Many programmers derive satisfaction from honing their skills, mastering programming languages, and applying best practices to write clean, efficient, and maintainable code. The sense of craftsmanship that comes with producing high-quality work can be deeply fulfilling.

It's important to note that individual preferences may vary, and what satisfies one person in programming may not necessarily be the same for someone else. Each programmer has their own unique motivations and interests, which contribute to their satisfaction in the field.

Follow us on Medium - BeingCoders Publication.

Tuesday, 9 May 2023

How Digital Workerbees Can Help With Growing Your Business?

Digital WorkerBees can provide several benefits to businesses:

1. Increased Efficiency: 

By automating repetitive and time-consuming tasks, Digital WorkerBees can free up human resources to focus on more strategic and value-added activities, leading to increased overall efficiency.

2. Cost Savings: 

Automation through Digital WorkerBees can help reduce labor costs associated with manual tasks, as well as minimize the risk of errors and rework, resulting in cost savings for the business.

3. Improved Accuracy: 

Digital WorkerBees can perform tasks with a high level of accuracy and consistency, minimizing the likelihood of human errors that can occur during manual processes.

4. Enhanced Productivity: 

With Digital WorkerBees handling routine tasks, employees can dedicate more time and energy to critical projects, innovation, and creative problem-solving, leading to higher productivity levels.

5. Scalability: 

Digital WorkerBees can easily scale up or down based on business needs, allowing companies to handle increased workloads or fluctuations in demand without the need for extensive recruitment or training.

6. Streamlined Processes:

By automating workflows and eliminating manual handoffs, Digital WorkerBees can help streamline business processes, reducing bottlenecks and improving overall operational efficiency.

7. Improved Customer Experience: 

Digital WorkerBees can assist in delivering faster response times, personalized interactions, and round-the-clock availability, ultimately enhancing the customer experience and satisfaction.

8. Data Insights: 

With Digital WorkerBees capturing and processing data, businesses can gain valuable insights and analytics that can drive informed decision-making, optimize operations, and identify areas for improvement.

9. Regulatory Compliance: 

Digital Worker Bees can assist in ensuring compliance with industry regulations and standards by consistently following predefined rules and protocols, minimizing the risk of non-compliance.

10. Innovation and Adaptability: 

By automating routine tasks, businesses can allocate resources to innovation, research, and development, enabling them to stay competitive and adapt to evolving market dynamics more effectively.

Friday, 23 September 2016

ASCII Character Codes


DecHexOctCharDescription
00000null
11001start of heading
22002start of text
33003end of text
44004end of transmission
55005enquiry
66006acknowledge
77007bell
88010backspace
99011horizontal tab
10A012new line
11B013vertical tab
12C014new page
13D015carriage return
14E016shift out
15F017shift in
1610020data link escape
1711021device control 1
1812022device control 2
1913023device control 3
2014024device control 4
2115025negative acknowledge
2216026synchronous idle
2317027end of trans. block
2418030cancel
2519031end of medium
261A032substitute
271B033escape
281C034file separator
291D035group separator
301E036record separator
311F037unit separator
3220040space
3321041!
3422042"
3523043#
3624044$
3725045%
3826046&
3927047'
4028050(
4129051)
422A052*
432B053+
442C054,
452D055-
462E056.
472F057/
48300600
49310611
50320622
51330633
52340644
53350655
54360666
55370677
56380708
57390719
583A072:
593B073;
603C074<
613D075=
623E076>
633F077?
6440100@
6541101A
6642102B
6743103C
6844104D
6945105E
7046106F
7147107G
7248110H
7349111I
744A112J
754B113K
764C114L
774D115M
784E116N
794F117O
8050120P
8151121Q
8252122R
8353123S
8454124T
8555125U
8656126V
8757127W
8858130X
8959131Y
905A132Z
915B133[
925C134\
935D135]
945E136^
955F137_
9660140`
9761141a
9862142b
9963143c
10064144d
10165145e
10266146f
10367147g
10468150h
10569151i
1066A152j
1076B153k
1086C154l
1096D155m
1106E156n
1116F157o
11270160p
11371161q
11472162r
11573163s
11674164t
11775165u
11876166v
11977167w
12078170x
12179171y
1227A172z
1237B173{
1247C174|
1257D175}
1267E176~
1277F177DEL

Matrix Transpose

/* Transpose the matrix */
#include<stdio.h>

int main()
{
int a[4][4],i,j,b;

for(i=0;i<4;i++)
{
printf("\nEnter elements of %d row of Matrix: ",i+1);
for(j=0;j<4;j++)
scanf("%d",&a[i][j]);
}

for(i=0;i<4;i++)
{
for(j=i+1;j<4;j++)
{
b=a[i][j];
a[i][j]=a[j][i];
a[j][i]=b;
}
}

printf("\nTransposed Matrix:\n\n");
for(i=0;i<4;i++)
{
for(j=0;j<4;j++)
printf("%4d",a[i][j]);
printf("\n");
}
return 0;
}

Sum of two Matrix

/* Sum of two Matrix */
#include<stdio.h>

int main()
{
int a[5][5],b[5][5],c[5][5];
int i,j;

for(i=0;i<5;i++)
{
printf("\nEnter elements of %d row of first Matrix: ",i+1);
for(j=0;j<5;j++)
scanf("%d",&a[i][j]);
}

for(i=0;i<5;i++)
{
printf("\nEnter elements of %d row of 2nd Matrix: ",i+1);
for(j=0;j<5;j++)
scanf("%d",&b[i][j]);
}

printf("\nSum of Matrix:\n\n");
for(i=0;i<5;i++)
{
for(j=0;j<5;j++)
{
c[i][j]=a[i][j]+b[i][j];
printf("%3d ",c[i][j]);
}
printf("\n");
}
return 0;
}

Matrix Multiplication

/* Matrix multiplication */
#include<stdio.h>

int main()
{
int arr1[3][3],arr2[3][3],arr3[3][3]={0},i,j,k;

printf("Type a matrix of 3 rows & 3 colomns :\n");
for(i=0;i<3;i++)
for(j=0;j<3;j++)
scanf("%d",&arr1[i][j]);

printf("Type another matrix of 3 rows & 3 colomns :\n");
for(i=0;i<3;i++)
for(j=0;j<3;j++)
scanf("%d",&arr2[i][j]);

for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
{
for(k=0;k<3;k++)
arr3[i][j]=arr3[i][j]+arr1[i][k]*arr2[k][j];
}

}

printf("\n\nOutput:\n");
for(i=0;i<3;i++)
{
for(j=0;j<3;j++)
printf("%5d",arr3[i][j]);
printf("\n\n");
}

return 0;
}

Featured post

Even Odd Number

  /* Check a number is even or odd */ #include<stdio.h> int main() {     int a;     printf("Enter a number: ");     scanf(&q...