Monday, 15 July 2019
Thursday, 11 July 2019
Lecture - 11 Data Modelling - ER Diagrams, Mapping
Irawen July 11, 2019 Engineering, Software No comments
lecture - 9 Process Modelling - DFD , Function Decomp
Irawen July 11, 2019 Engineering, Software No comments
Lecture - 10 Process Modelling - DFD, Function Decomp
Irawen July 11, 2019 Engineering, Software No comments
Lecture -5 Requirements Engineering / Specification
Irawen July 11, 2019 Engineering, Software No comments
Wednesday, 10 July 2019
Wednesday, 3 July 2019
Tuesday, 2 July 2019
Monday, 1 July 2019
Sunday, 30 June 2019
Tuesday, 25 June 2019
To check whether a number is divisible by 6 and 4
Irawen June 25, 2019 No comments
To check whether a number is divisible by 6 and 4
Input :
Output :
Code :
#include <stdio.h>
int main()
{
int c;
printf("Enter a number :\n");
scanf("%d",&c);
{ if ((c%6==0) && (c%4==0))
printf("The number is divisible by 6 and 4\n");
else
printf("The number is not divisible by 6 and 4\n");
}
return 0;
}
Input :
Output :
Code :
#include <stdio.h>
int main()
{
int c;
printf("Enter a number :\n");
scanf("%d",&c);
{ if ((c%6==0) && (c%4==0))
printf("The number is divisible by 6 and 4\n");
else
printf("The number is not divisible by 6 and 4\n");
}
return 0;
}
Monday, 24 June 2019
To Check whether a number is prime or not
Irawen June 24, 2019 No comments
To Check whether a number is prime or not
Input:-

Output:-
1)

2)

Code:-
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,i,ans;
printf("Enter a number : \n");
scanf("%d",&a);
for(i=2; i<=a/2;i++ )
ans=a%i;
{
if ( ans==0)
printf("The number is not prime ");
else
printf("The number is prime ");
}
return 0;
}
Input:-
Output:-
1)
2)
Code:-
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a,i,ans;
printf("Enter a number : \n");
scanf("%d",&a);
for(i=2; i<=a/2;i++ )
ans=a%i;
{
if ( ans==0)
printf("The number is not prime ");
else
printf("The number is prime ");
}
return 0;
}
Popular Posts
-
๐งญ Introduction In the 21st century, data has become one of the most valuable resources, influencing decisions in science, business, heal...
-
Explanation: ๐น Line 1: Creating the List x = [1, 2, 3] A list named x is created. It contains three elements: Index 0 → 1 Index 1 → 2 Ind...
-
Explanation: ๐ง 1. List Creation x = [1,2,3] Here, a list named x is created with elements: Index 0 → 1 Index 1 → 2 Index 2 → 3 ๐ So the li...
-
Explanation: ๐น Step 1: Understand Boolean Values in Python In Python, booleans are treated like integers: True = 1 False = 0 ๐น Step 2: R...
-
๐ Day 34/150 – Armstrong Number in Python An Armstrong number is a number that is equal to the sum of its own digits raised to the power...
-
Deep learning is at the heart of modern Artificial Intelligence — powering technologies like chatbots, recommendation systems, image recog...
-
Explanation: ๐น Step 1: Create Tuple x = (1,[2,3]) x is a tuple (immutable) Inside tuple: 1 → integer [2,3] → mutable list ๐น Step 2: Appl...
-
๐ Day 35/150 – Count Digits in a Number in Python Counting digits means finding how many digits are present in a number. Examples: 12345 ...
-
๐ Day 37/150 – Multiplication Table in Python A multiplication table shows the result of multiplying a number with a series of numbers. ...
-
Artificial Intelligence (AI) and Machine Learning (ML) are no longer just buzzwords; they are transformative forces driving innovation acr...
Categories
100 Python Programs for Beginner
(119)
AI
(256)
Android
(25)
AngularJS
(1)
Api
(7)
Assembly Language
(2)
aws
(30)
Azure
(10)
BI
(10)
Books
(262)
Bootcamp
(11)
C
(78)
C#
(12)
C++
(83)
Course
(87)
Coursera
(300)
Cybersecurity
(30)
data
(6)
Data Analysis
(32)
Data Analytics
(22)
data management
(15)
Data Science
(355)
Data Strucures
(17)
Deep Learning
(160)
Django
(16)
Downloads
(3)
edx
(21)
Engineering
(15)
Euron
(30)
Events
(7)
Excel
(19)
Finance
(10)
flask
(4)
flutter
(1)
FPL
(17)
Generative AI
(73)
Git
(10)
Google
(51)
Hadoop
(3)
HTML Quiz
(1)
HTML&CSS
(48)
IBM
(42)
IoT
(3)
IS
(25)
Java
(99)
Leet Code
(4)
Machine Learning
(294)
Meta
(24)
MICHIGAN
(5)
microsoft
(11)
Nvidia
(8)
Pandas
(14)
PHP
(20)
Projects
(33)
pytho
(1)
Python
(1339)
Python Coding Challenge
(1134)
Python Mathematics
(1)
Python Mistakes
(51)
Python Quiz
(495)
Python Tips
(5)
Questions
(3)
R
(72)
React
(7)
Scripting
(3)
security
(4)
Selenium Webdriver
(4)
Software
(19)
SQL
(49)
Udemy
(18)
UX Research
(1)
web application
(11)
Web development
(8)
web scraping
(3)
















