.... C Language
June 2, 2023 by Nadeem Khan | Leave a Comment
Program to use comma operator in for loop C Language copy #include<stdio.h> int main(void) { int i,j; for(i=0,j=10;i<=j;i++,j--) { printf("i=%d\t j=%d\n",i,j); } return 0; } output i=0 j=10 i=1 j=9 i=2 j=8 i=3 j=7 i=4 j=6 i=5 j=5
Read more »
May 31, 2023 / May 31, 2023 by Nadeem Khan | Leave a Comment
Program to use for loop in C Language copy #include <stdio.h> int main() { int i; for (i = 1; i <= 5; i++) { printf("%d\t", i); } printf("\n"); return 0; } . output 1 2 3 4 5
May 26, 2023 / May 27, 2023 by Ajaj Khan | Leave a Comment
इस program मैं conversion assignment के सहारे int को char मैं परिवर्तित हुआ और float को int मैं बदला गया और int को float मैं परिवर्तित हुआ और char को int मैं परिवर्तित हुआ
May 20, 2023 / June 16, 2023 by Ajaj Khan | Leave a Comment
use comma operators in c language
....
May 14, 2023 / June 17, 2023 by Nehal Akhtar | Leave a Comment
Subtraction Operators Simple Programme copy let a = 9; // Define variable a initialize value let b = 5; // Define variable b initialize value console.log(a - b); // Using subtract operators 9 - 5 Output 4
July 14, 2021 / July 15, 2021 by Fahim Akhtar | Leave a Comment
This is a excellent article by David Egan I recently update production database to local and all my acf fields/group were lost from Custom Fields UI and i didnt have acf-json folder in my theme enabled. The article helped me save time and energy to manually edit acf php files and change things. Finally all […]
Java
February 1, 2021 by Erfan Adil | Leave a Comment
To take input of a integer we use nextInt() function, that does not read the new line character of your input. So, when we command nextLine() it will take it as new line and give you as a new line. That’s why the nextLine() command after the nextInt() command gets skipped. So when we code […]
if is a conditional statement, which returns true or false based on the condition that is passed in it’s expression. By default, if-statement is implemented on only one line, that follows it. But if we put block after the if-statement, it will be implemented on the whole block. Syntax_1: if(expression) statement In the above example, […]
.... Clustering Machine Learning Unsupervised Learning
January 16, 2021 / January 16, 2021 by Monis Khan | Leave a Comment
Hierarchical clustering algorithm adopts agglomerative learning approach. Following are the steps involved in training process of this algorithm: For the first iteration it starts with points and finds the closest pairs and combines them into single cluster. For later iterations it does the same with clusters. The process goes on till all the points are […]
January 16, 2021 by Monis Khan | Leave a Comment
K in K-Means clustering signifies the number of clusters. In K-Means algorithm we need to specify the value of K. As is the inherent nature of the algorithm, with increase in number of clusters the WCSS decreases. But the rate of decrease is steep for first few points and then plateaus. The point of inflection […]