testprompt

Image Background Changer Image Background Changer Select Background Color: BlueWhite Change Background Download Image reader.onload = function (e) { var previewImage = document.getElementById(‘preview-image’); previewImage.src = e.target.result; }; reader.readAsDataURL(file); }); // Handle background change document.getElementById(‘process-btn’).addEventListener(‘click’, function () { var previewImage = document.getElementById(‘preview-image’); var colorSelect = document.getElementById(‘color-select’); var selectedColor = colorSelect.value; var canvas = document.createElement(‘canvas’); var context […]
Read More

test-00

AI Chatbot Send // Function to add a bot message to the chat area function addBotMessage(message) { const chatArea = document.getElementById(‘chat-area’); const botMessage = document.createElement(‘div’); botMessage.classList.add(‘bot-message’); botMessage.textContent = message; chatArea.appendChild(botMessage); } // Function to send user message and get bot response async function sendMessage() { const userInput = document.getElementById(‘user-input’).value; addUserMessage(userInput); document.getElementById(‘user-input’).value = ”; const response […]
Read More

test 53

AI Chatbot Send // Function to add a bot message to the chat area function addBotMessage(message) { const chatArea = document.getElementById(‘chat-area’); const botMessage = document.createElement(‘div’); botMessage.classList.add(‘bot-message’); botMessage.textContent = message; chatArea.appendChild(botMessage); } // Function to send user message and get bot response async function sendMessage() { const userInput = document.getElementById(‘user-input’).value; addUserMessage(userInput); document.getElementById(‘user-input’).value = ”; const response […]
Read More

Virtual Calculator Casio FX- 100MS

  Current GPA: Write your current academic GPA in numbers. Example: 3.45 Current Hours: How many hours have you finished EXCLUDING this semester? Example: 44   Course Name (Optional) Credit Hours Expected Grade     + ADD ANOTHER COURSE Calculate GPA Reset Fields RESULTS: Total credit of this semester =   Semester GPA =   […]
Read More

Single Linked List Complete Program – Algorithms & Data Structures in C++

#include<iostream> #include<fstream> #include <string> using namespace std; class Order { private: string customer; string country ; string productList[]; int numProducts ; public: void createOrder(Customer); void add(product); void search(string); void delete(string); void display(); }; class Customer { private: string name; string address; public: void createCust(string, string); void customer(string, string); void getName(); }; class Product { private: […]
Read More

Vowel Or Not Program – C Language

#include <stdio.h> #include <stdlib.h> int main() { char ch; printf(“Enter a character\n”); scanf(“%c”, &ch); if (ch == ‘a’ || ch == ‘A’ || ch == ‘e’ || ch == ‘E’ || ch == ‘i’ || ch == ‘I’ || ch ==’o’ || ch==’O’ || ch == ‘u’ || ch == ‘U’) printf(“%c is a vowel.\n”, […]
Read More

Structure With Array Student Data – C Language

#include <stdio.h> #include <stdlib.h> struct student { char name[10],fathersname[10],gender[10]; int age[10],roll[10],marks[10]; }; int main() { struct student a; int i,j; printf(“how many student you want too get data”); scanf(“%d”,&j); for(i=0; i<10; i++){ printf(“Enter your name\n”); scanf(“%s”,&a[i].name); printf(“Enter your fathers name\n”); scanf(“%s”,&a[i].fathersname); printf(“Enter your gender\n”); scanf(“%s”,&a[i].gender); printf(“Enter your age\n”); scanf(“%d”,&a[i].age); printf(“Enter your roll\n”); scanf(“%d”,&a[i].roll); printf(“Enter your […]
Read More